Skip to main content
Adding your agents to Barndoor Prerequisites
  • Admin privileges in your Barndoor organization.
  • Application details for your agent, including application type (guidance below) and OAuth callback URL(s)

Step-by-step guide

  1. Go to AI Agents: https://app.barndoor.ai/agents.
  2. Click Add Agent button (top-right).
    This opens the Add AI agent registration form.
Add AI agent modal with fields for name, description, application type, and allowed logout URLs
Tip: If you don’t see the button, ensure your user has admin access.

Fill out the registration form

  1. Name
    Clear, human-readable name (e.g., Snowflake Assistant, Sales Ops Agent).
  2. Description
    Short sentence on what the agent does and which services it connects to.
  3. Application Type
    Choose one that matches how your agent will run:
    • Regular Web Application – Server-rendered web apps that keep secrets on the server.
    • Single Page Application (SPA) – Front-end only apps; tokens handled in the browser.
    • Native Application – Desktop or mobile apps running on user devices.
    • Machine to Machine – Backend services or daemons without user interaction.
  4. Calback URLs*
    Enter one or more URLs where Barndoor should send callbacks after users sign in through your Identity Provider or authorize Barndoor to access an MCP server.
  5. Allowed Logout URLs
    One or more URLs where users can be safely redirected after logging out (press Enter after each URL).
When you’re done, click Register agent. Upon successful agent creation, you’ll be presented your agents credentials. These credentials are required for authenticating your application to make authorized requests to Barndoor operations.

Your Agent Credentials

Agent Credentials print out

What happens next?

  • Your new agent appears in the All Agents list.
  • From there you can:
    • Configure connected services (e.g., Snowflake, Salesforce, Notion).
    • Manage auth settings and rotate credentials if your application type requires it.
    • Monitor Active users and Monitored actions over time.

Troubleshooting

  • “Register agent” is disabled
    Ensure Name, Application Type, and at least one Allowed Logout URL are provided.
  • Not sure which application type to pick?
    Use Regular Web Application for server-based apps, SPA for purely browser apps, Native for desktop/mobile clients, and Machine to Machine for backend jobs with no user login.
  • Can’t access Agents page
    Ask an org admin to grant you the necessary permissions or create the agent on your behalf.

Next steps: After creating the agent, head to Connected Services to connect MCP servers your agent will use.