Create Your First Agent
Build and deploy an AI agent in under 5 minutes. Step-by-step guide from signup to embedding.
Create a working AI agent and embed it on your website in under 5 minutes. By the end of this guide, you'll have an agent answering questions based on your content.
Prerequisites
- An Agentkit account (sign up free)
- A website URL or document to train your agent on
Step 1: Start the Create Wizard
- Log in to your dashboard
- Click Add AI agent
You'll land in a four-step setup wizard: Link, Sources, Design, AI.
Step 2: Add Training Content
You can either point the wizard at a website URL (it extracts your brand colors, logo, and a list of pages to crawl) or skip straight to manual sources. Either way, you'll end up on the Sources step, where you can add more content from these source types:
Website
- Enter a URL from your site (e.g., your FAQ page)
- Click Crawl Website
- Wait for crawling to complete (usually 10-30 seconds)
Files
- Choose Files
- Drag and drop a PDF, Word doc, or text file
- Wait for processing to complete
Text
- Choose Text
- Paste or type your content
- Add a title and click Create Snippet
Q&A
- Choose Q&A
- Add a question and the exact answer you want the agent to give
- Click Create Q&A
For best results, start with your most important content - FAQ pages, main product docs, or key policies.
Step 3: Customize Appearance
On the Design step:
- Set your brand colors (primary color for the chat bubble and header)
- Add one or more Initial Messages (e.g., "Hi! Ask me anything about...")
- Optionally upload a profile picture or adjust appearance (Light/Dark)
Step 4: Choose a Model and Instructions
On the AI step:
- Pick a model (see the Best Practices guide for guidance)
- Choose an instructions template or write your own
- Click finish — training kicks off and you're dropped into the Playground
Step 5: Test in the Playground
- Type a question about your training content
- Verify the agent responds accurately
If answers aren't what you expect, add more relevant content in the Sources tab.
Step 6: Embed on Your Website
- Go to the Channels tab
- Copy the JavaScript snippet
- Paste it into your website's HTML before the
</body>tag:
<script async data-chatbot="your-chatbot-id" src="https://your-domain.com/widget.js"></script>
- Refresh your website - the chat bubble appears in the corner!
What You've Accomplished
You now have a working AI agent that:
- Answers questions based on your specific content
- Displays on your website as an interactive chat widget
- Is ready for visitors to use immediately
Next Steps
- Add more training sources for better answers
- Configure AI settings to adjust response behavior
- Set up lead collection to capture visitor emails
- Review best practices to improve response quality