Prerequisites
This guide will help you get started with Chatmode quickly. Follow these steps to create your first AI agent and deploy it to your chosen environment.Step 1: Sign Up for an Account
- Visit Chatmode’s website and click on the “Sign Up” button.
- Create an account using your email or sign in with Google or GitHub.
- Complete your profile information and set up your organization.
Step 2: Create Your First Agent
- Ensure you have added an external provider API Key (e.g., from OpenAI) under Settings.
- From the dashboard, navigate to the Agents section and click “Create Agent”.
- Give your agent a name.
- Select the API Key you added in step 1.
- Choose the Model available through that API key (e.g.,
gpt-4-turbo
). - Configure your agent’s core settings:
- Prompt: Define the agent’s personality and knowledge base
- Temperature: Adjust creativity level (lower for more deterministic responses)
- Maximum Tokens: Set the maximum response length
Start with a temperature between 0.3-0.7 for a good balance between creativity
and accuracy.
Step 3: Train Your Agent (Optional)
- In the Trainings section, click “New Training”.
- Upload documents or enter text data relevant to your business.
- Start the training process to enhance your agent’s knowledge.
Step 4: Set Up an Environment
- Go to the Environments section and click “Create Environment”.
- Choose the
EMBED
environment type. - Connect your previously created agent to the environment.
- Configure environment-specific settings (like Display Name/Picture, Initial Message, Domain Restrictions).
- Save the environment.
Step 5: Deploy Your Agent (Website Embed)
- Navigate back to the Environments section.
-
Click on the
EMBED
environment you just configured to open its details/edit page. - Find the Implementation or Share section (the exact location might vary slightly in the UI).
- Look for the “Bubble Code” snippet.
- Click the Copy button next to the Bubble Code.
-
Paste this copied script tag into the
<head>
or<body>
of your website’s HTML, ideally before the closing</body>
tag. Example structure of the code you’ll copy (Do NOT copy this example directly, use the one from the UI!): - The script will automatically add the floating chat bubble, typically in the bottom-right corner.
Step 6: Test Your Agent
- Once deployed, test your agent by sending messages and reviewing the responses.
- Analyze the conversation flow and make adjustments to your agent’s configuration as needed.
Next Steps
- Customize your agent with advanced settings
- Set up multiple environments for different platforms
- Enhance your agent’s knowledge with additional training
- Monitor conversations and analyze performance