How to Add an AI Agent To Your Website

Learn how to add an AI agent to your website that your users can actually complete tasks with.

·3 minute read
Cover for How to Add an AI Agent To Your Website

AI Agents Are Task-Oriented, Not Conversational

AI agents are designed to get things done for the user. Specifically, they connect with the website they're integrated with to allow the user to execute actions on the website through text. For example, a user might ask the AI agent on Airbnb to book a reservation for them, or ask the AI agent on Google Drive to move a set of files to a different folder.

An AI agent

AI agents always try to map user input to the actions and functionality supported by the website they're installed on. On the other hand, the chatbots you see on most sites prioritize free-flowing conversations and interactions, but don't actually complete tasks for users.

How to Add an AI Agent to Your Website In 7 Minutes

Creating a Rehance Account

To create a Rehance account, visit and follow the signup process. Once you're signed in, you'll be taken to the dashboard.

Setting up Actions

Actions are the functions that your website can perform in response to user requests. For example, if your website involves managing documents or files, you might want to create an action that allows users to move files. For more information on how to set up actions, see the Actions documentation.

Defining Context

Context is the information that the AI agent uses to understand user requests and map them to the appropriate actions. For example, if your website involves managing documents or files, you might want to define context around the current list of files owned by the user. For more information on how to define context, see the Context documentation.

Adding the AI Agent on Your Website

To set up the Rehance AI Agent on your website, just follow these steps:

  1. Copy the code snippet from the Integration page of your Rehance dashboard.
  2. Paste the code snippet into the <head> section of your website's HTML.
  3. Using the Integration documentation, show the agent when it makes sense in the user journey, and connect it to your application's actions and context.

Remember to test the agent's functionality after setup to ensure a seamless user experience.

Frequently Asked Questions

What is an AI Agent?

An AI Agent is designed to help users complete specific tasks by mapping user requests to the actions that the website can perform.

How is an AI Agent different from a conversational chatbot?

AI Agents are focused on completing tasks for users, while conversational chatbots are designed for more open-ended and free-flowing conversations.

What are the benefits of using an AI Agent?

The benefits include improved user experience, faster task completion, and increased efficiency in guiding users through specific processes.

How do I create an account on Rehance for the agent?

To create an account, visit and follow the registration process, along with the steps outlined in the documentation.