What You’ll Accomplish
By the end of this guide, you’ll have:- A Marketrix account set up
- An application set up for your website
- Knowledge uploaded to train your agent
- An AI agent created and configured
- A simulation run to teach your agent your interface
- A widget integration deployed on your website
Prerequisites
Before you start, you’ll need:- A Google, Microsoft, or GitHub account for sign-in
- A website URL where you want to deploy your agent
- A document or some text about your business (for the knowledge base)
Step 1: Create Your Account
Sign In
- Go to the Marketrix dashboard
- Click “Sign In”
- Choose your sign-in method (Google, Microsoft, or GitHub)
- Complete authentication
- You’ll be redirected back to the Marketrix dashboard
Complete Onboarding
- Complete your profile with your name and company details
- Familiarize yourself with the dashboard layout
- Note the main navigation on the left sidebar
Step 2: Create Your First Application
Applications tell Marketrix about your website or app so your agents know where they’ll be helping users.Create an Application
- On the Home page, click “Create Application”
Set Up Website
- Select “Website” as the application type
- Enter a name for your application (e.g., “My Website”)
- Enter your website URL (e.g., “https://yourwebsite.com”)
- Add allowed domains (your domain and www version)
- Click “Create Application”
- Name: “My Company Website”
- URL: “https://mycompany.com”
- Allowed Domains: “mycompany.com, www.mycompany.com”
Step 3: Add Knowledge
Knowledge helps your agent understand your business and answer questions accurately.Navigate to Knowledge
- Click “Knowledge” in the left sidebar
- Click “Upload Document” or “Add Knowledge”
Upload Your First Document
- Choose a document about your business (PDF, Word doc, or text file) — a company overview, product information, FAQ, or anything about your services
- Select your application from the dropdown
- Click “Upload”
Verify Upload
- Check that your document appears in the knowledge list
- Wait for processing (usually takes 1-2 minutes)
Step 4: Create Your First Agent
Create an Agent
- On the Home page, click on your application
- Click “Create Agent”
Basic Agent Setup
- Enter agent name (e.g., “Support Assistant”)
- Enter description (e.g., “Helps customers with questions and support”)
- Click “Continue”
Write Agent Instructions
Use this template and customize it for your business:Assign Knowledge
- Select your application from the dropdown
- Choose the knowledge you uploaded
- Click “Create Agent”
Step 5: Run a Simulation
Simulations let your agent explore and learn your actual application interface, making it much more effective at helping users.Navigate to Simulations
- Click “Simulations” in the left sidebar
- Select your application from the dropdown
- Select your agent from the dropdown
Create Your First Simulation
- Click “Start New Simulation”
- Write simulation instructions using this template:
- Click “Generate Simulation”
Monitor the Simulation
- Watch the progress as your agent explores your website
- Respond to any questions the agent asks
- Wait for completion (usually takes 1-2 minutes)
Step 6: Test in the Playground
Before deploying, test your agent to make sure it works correctly.Open the Playground
- Go to Widgets, click your integration, and click “Playground” — or navigate directly to the Playground
- Select your application from the dropdown
- Select your agent from the dropdown
Test Your Agent
- Send a test message like “Hello, can you help me?”
- Ask questions about your business
- Try different types of questions to see how it responds
- “What does your company do?”
- “How can I contact support?”
- “What are your business hours?”
Make Adjustments
If your agent doesn’t respond well:- Update the agent instructions to be more specific
- Add more knowledge if needed
- Test again in the playground
Step 7: Create Your Widget Integration
Navigate to Widgets
- Click “Widgets” in the left sidebar
- Click “Create Integration”
Set Up Widget Integration
- Select “Widget” as the integration type
- Choose your application from the dropdown
- Select your agent from the dropdown
- Configure widget settings (header text, greeting message, enabled modes)
- Click “Create Integration”
Get Your Integration Code
After creating the integration, you’ll receive a code snippet to embed on your website.Step 8: Deploy to Your Website
Add the widget to your website to start helping users.Add the Widget Code
- Open your website’s HTML (or content management system)
- Paste the integration code before the closing
</body>tag - Save and publish your website
your-marketrix-id and your-marketrix-key with the values from your integration page. All other widget settings (position, colors, modes, greeting text, etc.) are managed through the Marketrix dashboard and fetched automatically by the widget.
Test on Your Website
- Visit your website
- Look for the chat widget in the corner of your page
- Click the widget to open it
- Send a test message to verify it works
Congratulations!
You’ve successfully set up your first AI agent on Marketrix. Your agent is now helping users on your website, answering questions using your knowledge base, and providing support around the clock.What’s Next?
Immediate Improvements
- Add more knowledge to help with additional questions
- Refine agent instructions based on how it performs
- Customize the widget appearance from the dashboard
- Test with real users and gather feedback
Advanced Features
- Create multiple agents for different purposes
- Run additional simulations to deepen interface understanding
- Create specialized agents for different departments
Getting Help
If you need assistance:- Check the Troubleshooting Guide for common issues
- Review the detailed guides for Applications, Knowledge, Agents, and Integrations
- Contact support at support@marketrix.ai

