Publish your AI Agent
Ready to launch your AI Agent?
Last updated
Ready to launch your AI Agent?
Last updated
Now that you’ve built and refined your AI agent, it’s time to publish it on your website and let it engage with your users. OpenDialog makes this a simple two-step process using aliases, allowing you to easily manage and update your webchat without needing to change the underlying code.
Let’s walk through the steps to get your AI agent live.
Create an Alias and Generate Embed Code
In OpenDialog, an alias acts as a reference point for your WebChat widget. This alias allows you to link different scenarios to your WebChat widget without having to update your website code each time you want to switch or test a new scenario.
Navigate to the Alias section
In the left-hand navigation panel, select your workspace
Hover over Scenarios and click on Aliases in the top section of the menu panel
View the aliases overview screen
Click on ‘Create new alias’
Alias Name: This is a unique identifier that follows specific rules. The name must be all lowercase, spaces must be replaced with underscores (_), and it can’t contain numbers, symbols, or uppercase letters.
Scenario: Select the scenario you want the alias to reference.
Creating an alias
Name your alias
Select the scenario you want this alias to reference from the dropdown
Click ‘Create Alias’ to generate the embed code
Copy the generated embed code using the Copy icon
The power of aliases allows you to easily update your WebChat without ever touching the code again.
Want to switch to a different conversation flow for an upcoming promotion? Simply remap the alias to a new scenario and your website will reflect the update instantly.
The embed code is the key to getting your AI agent live. Simply embed this code within the body of your website’s HTML just before the closing </body> tag to display the WebChat widget.
If you don’t have access to the underlying code or admin of your website, you can send this embed code to someone in your organisation with the appropriate access.
This will place the WebChat iFrame at the bottom of the page, after all the other content.
Here is an example of an HTML page including the webchat embed code:
Once your embed code is live on your site, you’re all set!
With these simple steps, your AI agent will be ready to engage your customers, and thanks to OpenDialog’s alias system, you can continue to experiment, iterate, and refine your bot’s performance effortlessly.
Need more flexibility to customise webchat? Check out our Webchat SDK documentation.