Skip to content

Commit 79116e6

Browse files
committed
chore: update web widget deployment documentaiton
1 parent 10412e3 commit 79116e6

7 files changed

Lines changed: 13 additions & 7 deletions

File tree

docs/deployment/web-widget.mdx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@ description: You can deploy and embed a Voice Agent that you create on Dograh on
44
---
55

66
### How to deploy
7-
You can go to your voice agent and Enable Embedding of the Voice Agent on any external website.
87

9-
Step 1: Go to Deploy Agent
10-
![Deploy Agent](../images/deploy-agent-as-widget.png)
8+
You can embed your Voice Agent on any external website using the Deploy Agent dialog in your agent's settings.
119

12-
Step 2: Enable Embedding
10+
Step 1: Open the agent settings by clicking the gear icon in the top-right of the agent editor.
1311

14-
![Enable Embedding](../images/enable-embedding.png)
12+
![Open agent settings](../images/open-settings.png)
1513

16-
Step 3: Configure the Widget. Select either floating or inline widget
14+
Step 2: Scroll to the **Deployment** section and click **Configure Embed**.
1715

18-
Step 4: Copy the code into your Web Page and test your agent.
16+
![Go to Deployment](../images/go-to-deployment.png)
17+
18+
Step 3: Enable embedding, add your website's domain to **Allowed Domains**, choose either **Floating Widget** or **Inline Component**, customize the button (position, color, text), and click **Save Configurations**.
19+
20+
![Save configurations](../images/save-configurations.png)
21+
22+
Step 4: Copy the generated embed code and paste it into your web page to test your agent.
23+
24+
![Copy deployment code](../images/copy-deployment-code.png)
126 KB
Loading
-173 KB
Binary file not shown.

docs/images/enable-embedding.png

-87.7 KB
Binary file not shown.

docs/images/go-to-deployment.png

39.6 KB
Loading

docs/images/open-settings.png

60.2 KB
Loading
75.5 KB
Loading

0 commit comments

Comments
 (0)