What Are Connections?
A connection represents your website, application, or platform where your AI agents will be deployed. Think of it as a bridge between Marketrix and your digital presence.Why You Need Connections
Connections serve several important purposes:- Context for Agents - Your agents know which website or app they’re helping with
- Security - Only authorized domains can use your agents
- Organization - Keep different projects or websites separate
- Customization - Each connection can have different settings and knowledge
Connection Types
Marketrix supports two main types of connections:Website Connections
Best for: Standard websites, landing pages, marketing sites Characteristics:- Simple setup with just a URL
- Perfect for most websites
- Easy to integrate with widget
- Great for customer support and sales
- Company websites
- E-commerce stores
- Marketing landing pages
- Blog sites
App Connections
Best for: Web applications, SaaS platforms, complex websites Characteristics:- More advanced configuration options
- Support for custom authentication
- Better for complex applications
- Can handle multiple environments
- SaaS applications
- Web-based tools
- Customer portals
- Internal applications
How Connections Work
The Connection Flow
- You create a connection to your website or app
- Your agents are linked to specific connections
- Knowledge is organized by connection
- Integrations are created for each connection
- Users interact with your agents through the connection
Connection Requirements
What You Need
To create a connection, you’ll need:- Website URL - The main URL of your website or app
- Domain Information - Which domains should be allowed to use your agents
- Basic Details - Name and description for your connection
Domain Configuration
Allowed Domains specify which websites can use your agents:- Exact Match:
example.com
- Only this exact domain - Subdomain:
app.example.com
- Only this subdomain - Multiple Domains:
example.com, www.example.com
- Both domains - Wildcard:
*.example.com
- All subdomains (if supported)
Connection Settings
Basic Settings
- Name - A descriptive name for your connection
- URL - The main URL of your website or app
- Description - Optional description of what this connection is for
- Status - Active or inactive
Advanced Settings
- Authentication - Custom authentication settings (for app connections)
- Rate Limiting - Limits on how often agents can be used
- Custom Headers - Additional headers for API requests
- Environment - Development, staging, or production
Best Practices
Naming Your Connections
Good Names:- “Company Website”
- “E-commerce Store”
- “Customer Portal”
- “Marketing Site”
- Generic names like “Connection 1”
- Technical names like “prod-web-001”
- Names that don’t describe the purpose
Domain Management
- Be Specific - Only allow domains you actually use
- Include Variations - Add both
example.com
andwww.example.com
- Test Thoroughly - Make sure your domains work correctly
- Update Regularly - Keep domain lists current
Organization
- One Connection Per Website - Don’t mix different websites in one connection
- Clear Descriptions - Help team members understand what each connection is for
- Consistent Naming - Use a consistent naming convention across all connections
Common Use Cases
E-commerce Website
Connection Type: Website Purpose: Customer support and sales assistance Domains:store.example.com, www.store.example.com
Use Cases: Product questions, order support, returns
SaaS Application
Connection Type: App Purpose: User onboarding and feature help Domains:app.example.com
Use Cases: Feature explanations, troubleshooting, account help
Marketing Site
Connection Type: Website Purpose: Lead generation and information Domains:example.com, www.example.com
Use Cases: Service information, contact assistance, demo requests
Customer Portal
Connection Type: App Purpose: Account management and support Domains:portal.example.com
Use Cases: Account questions, billing help, technical support
Connection Limits
Free Plan
- Connections: Up to 3 connections
- Domains: Up to 5 domains per connection
- Agents: Up to 2 agents per connection
Pro Plan
- Connections: Up to 10 connections
- Domains: Up to 20 domains per connection
- Agents: Up to 10 agents per connection
Enterprise Plan
- Connections: Unlimited connections
- Domains: Unlimited domains per connection
- Agents: Unlimited agents per connection
Getting Started
Ready to create your first connection? Here’s what to do next:Create Your First Connection
Step-by-Step GuideLearn how to create both website and app connections with detailed instructions.
Manage Your Connections
Connection ManagementLearn how to edit, test, and organize your connections effectively.
Troubleshooting
Common Issues
Connection Not Working- Check that your domain is correctly configured
- Verify the URL is accessible
- Ensure allowed domains include all variations
- Confirm the agent is linked to the connection
- Check that the connection is active
- Verify domain permissions
- Make sure the integration is created for the correct connection
- Check that the connection is properly configured
- Verify domain restrictions
Next Steps
Now that you understand connections, you’re ready to:- Create your first connection - Set up a connection to your website
- Add knowledge - Upload documents to train your agents
- Create an agent - Build an AI assistant for your connection
- Test in the playground - Make sure everything works correctly