Initial setup
Follow these steps below to set up your Whereby Embedded account!
These steps are essential for anyone using Whereby Embedded, whether you are using the web component and prebuilt UI, the Whereby Browser SDK, or another solution.
1. Sign up for an Embedded account
To start with, sign up for a Whereby Embedded account:
Go to the 'Choose your Embedded' plan page.
Choose the Free plan for now. This gives you everything you need to test out the product; you can always upgrade your plan later on when you start implementing a production app.
Follow the steps to create an account.
2. Generate an API key
From your account dashboard, go to “Configure” → “API” section of your account dashboard. Under the API keys portion, click the Generate key button to create a new key.
Your API key is only displayed once. Copy the key and save it to your secrets manager. You'll need it to send requests to our REST API.
3. Create a meeting room
Before you can create an embedded Whereby app, you need to create a meeting room. This is a key entity in the Whereby architecture — an app is passed a specific meeting room URL to join that meeting, and you can configure each meeting as required. Meeting room options include setting the number of participants, the end date of the meeting, whether it will be recorded or streamed, and more.
There are a couple of different ways to create a meeting room:
Via your account dashboard: Go to the Rooms screen, click the Create room button, and follow the steps to create your room. You can choose the defaults on most screens, but you’ll need to choose an end date for your meeting on the final options screen.
Via our /meetings API endpoint: The request has the following requirements:
It must be sent to
https://api.whereby.dev/v1/meetings.It must be authenticated using Bearer Token authentication. Send your API key as part of the
Authorizationheader.It must be a
POSTrequest with a body containing a valid JSON string (Content-Type: application/json). There are many options you can include in the JSON, but at the very least, it must contain anendDatefield.
The following cURL example shows a minimal meeting room request (replace YOUR-API-KEY with the API key you generated in the previous step), which you can enter into your terminal/command line to create a meeting room:
Getting the meeting room URL
Getting the meeting room URL to provide to your app depends on how you created the meeting room.
If you created it via your account dashboard, you’ll see a list of the currently active rooms on the Rooms screen. To get the URL, click on the “link” icon on your room row, then click Copy participant link.
If you create it via an API call, the response will contain a JSON string along the following lines:
You need to copy the
roomUrlfield value.
Which creation method should I use?
At this point in your journey, it doesn’t matter. In our quickstarts and starter guides, we’ll assume you are providing a static room URL, and your app will join the same room every time.
However, in a production app, you will likely want to allow different users or customers to create rooms dynamically. They probably don’t want to all share the same room. For this reason, we’d recommend getting used to using the API call method.
Next steps
Now that you’re set up, we'd recommend creating an embedded Whereby app using the prebuilt web component.
Last updated
Was this helpful?

