Skip to main content
This guide will walk you through creating both website and app connections in Marketrix. Choose the type that best fits your needs.

Before You Start

You’ll need:
  • A Marketrix account
  • Your website or app URL
  • Information about which domains should be allowed
  • A clear name for your connection

Creating a Website Connection

Website connections are perfect for most standard websites, landing pages, and marketing sites.

Step 1: Navigate to Connections

  1. Log into your Marketrix account at app.marketrix.ai
  2. Click “Connections” in the left sidebar
  3. Click “Create Connection” button

Step 2: Choose Connection Type

  1. Select “Website” as the connection type
  2. Click “Continue”

Step 3: Basic Information

Fill out the basic information for your connection:

Connection Name

  • What to enter: A descriptive name for your connection
  • Examples: “Company Website”, “E-commerce Store”, “Marketing Site”
  • Tip: Choose a name that clearly identifies this website

Website URL

  • What to enter: The main URL of your website
  • Examples:
    • https://example.com
    • https://www.mystore.com
    • https://mycompany.com
  • Tip: Include the full URL with https://

Description (Optional)

  • What to enter: A brief description of what this connection is for
  • Examples:
    • “Main company website for customer support”
    • “E-commerce store for product questions and orders”
    • “Marketing site for lead generation”
  • Tip: Help team members understand the purpose

Step 4: Domain Configuration

Configure which domains can use your agents:

Allowed Domains

  • What to enter: List of domains that can use your agents
  • Examples:
    • example.com, www.example.com (both versions)
    • store.example.com (specific subdomain)
    • example.com, www.example.com, app.example.com (multiple domains)
  • Tip: Include all variations of your domain

Domain Examples

Single Domain:
example.com
Multiple Domains:
example.com, www.example.com
Subdomain:
store.example.com, www.store.example.com
Multiple Subdomains:
example.com, www.example.com, app.example.com, blog.example.com

Step 5: Review and Create

  1. Review all information you’ve entered
  2. Check that domains are correct and include all variations
  3. Verify the URL is accessible
  4. Click “Create Connection”

Step 6: Verify Connection

After creating your connection:
  1. Check that it appears in your connections list
  2. Verify the status shows as “Active”
  3. Test the connection by creating a simple agent

Creating an App Connection

App connections are designed for web applications, SaaS platforms, and complex websites that need advanced configuration.

Step 1: Navigate to Connections

  1. Log into your Marketrix account at app.marketrix.ai
  2. Click “Connections” in the left sidebar
  3. Click “Create Connection” button

Step 2: Choose Connection Type

  1. Select “App” as the connection type
  2. Click “Continue”

Step 3: Basic Information

Fill out the basic information for your app connection:

Connection Name

  • What to enter: A descriptive name for your application
  • Examples: “Customer Portal”, “SaaS Application”, “Admin Dashboard”
  • Tip: Choose a name that reflects the application’s purpose

App URL

  • What to enter: The main URL of your application
  • Examples:
    • https://app.example.com
    • https://portal.mycompany.com
    • https://dashboard.example.com
  • Tip: Use the exact URL where your app is hosted

Description (Optional)

  • What to enter: A brief description of the application
  • Examples:
    • “Customer portal for account management and support”
    • “SaaS application for project management”
    • “Admin dashboard for internal operations”
  • Tip: Explain what the app does and who uses it

Step 4: Advanced Configuration

App connections offer additional configuration options:

Authentication Settings

  • No Authentication: For public applications
  • Basic Authentication: Username and password
  • API Key: Custom API key authentication
  • OAuth: OAuth-based authentication

Rate Limiting

  • Requests per minute: Limit how often agents can be used
  • Requests per hour: Hourly usage limits
  • Requests per day: Daily usage limits

Custom Headers

  • Authorization: Custom authorization headers
  • API Version: Specify API version
  • Custom Headers: Additional headers for requests

Step 5: Domain Configuration

Configure which domains can use your agents:

Allowed Domains

  • What to enter: List of domains for your application
  • Examples:
    • app.example.com (single app domain)
    • app.example.com, api.example.com (app and API domains)
    • portal.example.com, admin.example.com (multiple app domains)

Environment Settings

  • Development: For testing and development
  • Staging: For pre-production testing
  • Production: For live applications

Step 6: Review and Create

  1. Review all configuration settings
  2. Check that domains are correct
  3. Verify authentication settings if applicable
  4. Test the app URL to ensure it’s accessible
  5. Click “Create Connection”

Connection Examples

E-commerce Website

Connection Type: Website Name: “Online Store” URL: https://mystore.com Domains: mystore.com, www.mystore.com Description: “E-commerce website for product sales and customer support”

SaaS Application

Connection Type: App Name: “Project Management App” URL: https://app.myproject.com Domains: app.myproject.com, api.myproject.com Description: “SaaS application for project management and team collaboration”

Marketing Website

Connection Type: Website Name: “Company Website” URL: https://mycompany.com Domains: mycompany.com, www.mycompany.com Description: “Main company website for marketing and lead generation”

Customer Portal

Connection Type: App Name: “Customer Portal” URL: https://portal.mycompany.com Domains: portal.mycompany.com Description: “Customer portal for account management and support”

Best Practices

Naming Your Connections

Good Names:
  • “Company Website”
  • “E-commerce Store”
  • “Customer Portal”
  • “Marketing Site”
Avoid:
  • “Connection 1”
  • “Test Connection”
  • “My Website”
  • Generic or unclear names

Domain Configuration

Include All Variations:
  • example.com and www.example.com
  • All subdomains you use
  • Development and staging domains (if needed)
Be Specific:
  • Only include domains you actually use
  • Don’t use wildcards unless necessary
  • Test all domains to ensure they work

Security Considerations

Domain Restrictions:
  • Always specify allowed domains
  • Don’t use overly broad domain patterns
  • Regularly review and update domain lists
Authentication:
  • Use appropriate authentication for app connections
  • Don’t expose sensitive credentials
  • Test authentication thoroughly

Common Issues and Solutions

Connection Not Working

Problem: Connection shows as inactive or not working Solutions:
  • Check that the URL is correct and accessible
  • Verify domain configuration includes all variations
  • Ensure the connection is set to “Active” status

Domain Not Allowed

Problem: Agent not working on your website Solutions:
  • Check that your domain is in the allowed domains list
  • Include both example.com and www.example.com
  • Verify there are no typos in domain names

Authentication Issues

Problem: App connection authentication failing Solutions:
  • Verify authentication credentials are correct
  • Check that authentication method matches your app
  • Test authentication outside of Marketrix first

Testing Your Connection

After creating a connection, test it to make sure it works:

Basic Test

  1. Create a simple agent linked to your connection
  2. Test the agent in the playground
  3. Verify the agent responds correctly

Integration Test

  1. Create a widget integration for your connection
  2. Test the integration on your website
  3. Verify the widget appears and works correctly

Next Steps

Once you’ve created your connection, you’re ready to:
  1. Add knowledge - Upload documents to train your agents
  2. Create an agent - Build an AI assistant for your connection
  3. Test in the playground - Make sure everything works
  4. Create an integration - Deploy your agent to your website
Your connection is the foundation for everything else in Marketrix. Take time to configure it correctly, and you’ll have a solid base for building powerful AI agents.

Getting Help

If you run into issues:
  • Check the troubleshooting guide for common problems
  • Verify your domain configuration is correct
  • Test your website URL to ensure it’s accessible
  • Contact support if you need additional help
You’re now ready to start building AI agents for your connection! 🚀
I