> ## Documentation Index
> Fetch the complete documentation index at: https://www.klavis.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Builder

> Connect Strata with OpenAI's Agent Builder in minutes and unlock powerful workflow automation

<img className="block dark:hidden" src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/openai-agent-builder.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=c16bb187bf7115f0ce5b053658b625f2" alt="OpenAI's Agent Builder" width="720" height="360" data-path="images/knowledge-base/openai-agent-builder/openai-agent-builder.png" />

<img className="hidden dark:block" src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/openai-agent-builder.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=c16bb187bf7115f0ce5b053658b625f2" alt="OpenAI's Agent Builder" width="720" height="360" data-path="images/knowledge-base/openai-agent-builder/openai-agent-builder.png" />

## Quick Setup Guide

<Steps>
  <Step title="Authorize MCP Servers to Use with Strata">
    Navigate to the [Klavis home page](https://www.klavis.ai/home) and click **"MCP Server"** in the left sidebar. You will see a list of MCP servers available in Klavis.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step1.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=afef97bf0068d1173c847bd38197654a" alt="Klavis home page" width="1905" height="1072" data-path="images/knowledge-base/openai-agent-builder/step1.png" />

    Click the **"Authorize"** button next to your chosen server. Once server is authorized, you will see **Green Checkmark** status.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step2.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=9f1991692c4b8891777980c868aaffc5" alt="Authorize MCP Servers" width="1900" height="1069" data-path="images/knowledge-base/openai-agent-builder/step2.png" />

    <Tip>
      You can authorize one or more servers to use with Strata
    </Tip>
  </Step>

  <Step title="Get Strata Server URL">
    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step3.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=a1b2890101c3fc21efd5c49eb7c0eafb" alt="Klavis Dashboard consisting MCP Servers" width="1902" height="1070" data-path="images/knowledge-base/openai-agent-builder/step3.png" />

    From Klavis Dashboard, click **"Add to Other Clients"** button to get your Strata Server URL.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step4.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=8690ec8b263fede7e20add1552906fec" alt="Copy Strata Server URL" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step4.png" />

    <Accordion title="🔐 OAuth Services (Most Common)">
      * Automatically redirected to OAuth authorization
      * Sign in to your account (GitHub, Google, Slack, etc.)
      * Grant necessary permissions
      * Redirected back to Klavis automatically
    </Accordion>

    <Accordion title="🔑 API Key Services">
      * Prompted to enter an API key
      * Follow service-specific instructions to generate key
      * Paste key in the provided field
      * Click **"Save"** to continue
    </Accordion>
  </Step>
</Steps>

## Build AI Workflow using Strata

<Steps>
  <Step title="Launch Your First Workflow in Agent Builder">
    Navigate to the [OpenAI Platform](https://platform.openai.com/) and select **"Agent Builder"** from the menu. Click **"+ Create"** to start building your custom chat agent with advanced logic and integrated tools.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step5.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=c988864ae9e18e2b9dce535498a9ca3a" alt="Create new workflow in Agent Builder" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step5.png" />
  </Step>

  <Step title="Set Up Your Trigger Node">
    When you create a new workflow, the **'Start'** node will already be present on your canvas. This foundational node defines your workflow inputs through the `input_as_texts` variable.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step6.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=35dcde4d085b15bb2f33d179f96edbf0" alt="Start node configuration" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step6.png" />
  </Step>

  <Step title="Integrate Strata with Your AI Agents">
    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step7.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=4e03981e2751006f1aa39ab72dc17ed1" alt="Add New Agent" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step7.png" />

    Drag the **"Agents"** node from the core nodes section onto your canvas. Configure it with the following settings:

    **Basic Configuration:**

    * **Name:** Strata (recommended)
    * **Instructions:** You are a helpful assistant.
    * **Tools:** Select **"MCP Server"**

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step8.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=142b4484bf460692e3263098fcabf631" alt="Choose Strata as MCP Server" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step8.png" />

    **MCP Server Details:**

    1. **URL:** Paste your Strata URL from Step 2
    2. **Label:** `strata`
    3. **Description:** Strata by Klavis AI *(optional)*
    4. **Authentication:** Select **"None"**
    5. **Approval:** Select **"Never"**

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step9.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=c0b84c88c15a9fff29770b6bd29706ea" alt="Adding Strata as Agent" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step9.png" />
  </Step>

  <Step title="Add the End Node">
    Drag and drop the **"End"** node to stop the execution of your workflow diagram.

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step10.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=3f3f035a2a5903b04d852044feefb8a3" alt="User Approval node" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step10.png" />

    Above is the fnal workflow configuration consisting Strata as a agent.
  </Step>

  <Step title="Start Using Strata in Agent Builder">
    To run your Strata Agent, click **"Run"** from the top menu.

    **Example 1:**

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step11.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=107afd0cb2e24fbfce11a1ca0d9e237a" alt="Run workflow" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step11.png" />

    **Example 2:**

    <img src="https://mintcdn.com/klavisai/bVzSLaw2nd5Xa_ly/images/knowledge-base/openai-agent-builder/step12.png?fit=max&auto=format&n=bVzSLaw2nd5Xa_ly&q=85&s=cb120854120dd39ca37f615e31b976ee" alt="Workflow execution" width="1920" height="1080" data-path="images/knowledge-base/openai-agent-builder/step12.png" />

    <CodeGroup>
      ```text GitHub theme={null}
      "Create a new issue titled 'Add dark mode' with priority label"
      ```

      ```text Slack theme={null}
      "Send a message to #general: 'Standup meeting in 5 minutes!'"
      ```

      ```text Gmail theme={null}
      "Send email to john@company.com about project update"
      ```

      ```text Notion theme={null}
      "Create a new page called 'Meeting Notes' with today's date"
      ```
    </CodeGroup>
  </Step>

  <Step title="Happy Building! 🎉">
    You're all set! Your **Strata** MCP server is now integrated with OpenAI's Agent Builder.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="🔧 Tools Not Appearing">
    * Double-check your Server URL for typos
    * Ensure stable internet connection
    * Verify authentication in Klavis dashboard
    * Check Agent Builder logs for error messages
    * Try completely restarting Agent Builder
  </Accordion>

  <Accordion title="🔐 Authentication Issues">
    * Re-authenticate in the Klavis dashboard
    * Check if your OAuth tokens have expired
    * Verify API key permissions (for API key services)
    * Ensure you've granted all necessary permissions
  </Accordion>

  <Accordion title="⚡ Performance Issues">
    * Limit the number of active MCP servers (or Use Strata)
    * Check your internet connection speed
    * Restart Agent Builder periodically
    * Contact support if issues persist
  </Accordion>
</AccordionGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="Community" icon="discord">
    Join our Discord for community support and discussions
  </Card>

  <Card title="Support" icon="headphones">
    Contact our technical support team for assistance
  </Card>
</CardGroup>

***
