...
When deploying as a Web App Embed Icon, paste the provided code into your application, and a “chat” icon to trigger the agent will be rendered in the bottom right corner of the application.
Deploy as Server Side Code
Use this option to interact with the agent from backend processes. This capability allows the agent to be deployed more autonomously. You can embed the capabilities of AI directly into your applications and workflow without an interact cha interface.
For more details, see the pjs.askAgent() API.
Deploy As Slack Bot
To deploy the agent as a Slack Bot, you must have administrator rights to your Slack workspace. Copy the provided Slack App Manifest and click the Create New Slack App link. On the Slack API site, click Create New App and then select “From an App Manifest”. After the App is created, you must copy the App Credentials into your config.js file and restart the server.
...