Skip to content

Commit 90c6979

Browse files
committed
add more instructions
1 parent dae24c4 commit 90c6979

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
559 KB
Loading
100 KB
Loading

src/content/docs/realtime/agents/getting-started.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,22 @@ npx wrangler deploy
244244
https://hello-agent.<YOUR_SUBDOMAIN>.workers.dev
245245
```
246246

247+
## 6. Generate a RealtimeKit token
248+
249+
Finally, to invoke the worker, we need to generate a RealtimeKit token from the [dashboard](https://dash.realtime.cloudflare.com/dashboard):
250+
251+
1. Go to the `Meetings` tab and click on `Create Meeting`:
252+
253+
![Meetings Tab](public/images/realtime-agents/create-meeting.png)
254+
255+
2. Click on `Join` next to the meeting and generate the RealtimeKit link. This contains the `meetingId` (`bbbb2fac-953c-4239-9ba8-75ba912d76fc`) and the `authToken` to be passed in the final step:
256+
257+
`https://demo.realtime.cloudflare.com/v2/meeting?id=bbbb2fac-953c-4239-9ba8-75ba912d76fc&authToken=ey...`
258+
259+
![Join Flow](public/images/realtime-agents/join-meeting.png)
260+
261+
3. Repeat the same `Join` flow to join the meeting yourself before adding in the Agent
262+
247263
Finally, invoke the worker to make the agent join a meeting:
248264

249265
```sh

0 commit comments

Comments
 (0)