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

# OpenAI Integration

> Connect OpenAI with ContactSwing to create powerful AI agents and automate workflows using OpenAI models.

## Overview

Link your OpenAI account to ContactSwing and use your models in agents, actions, and campaigns.

Learn how to connect and configure OpenAI with ContactSwing. This guide shows you how to set up and use OpenAI integration effectively.

Connect your OpenAI account to unlock advanced AI capabilities for your agents and calls. This integration lets you use the OpenAI model while creating agents and automating workflows. 🚀

### 🎥 Video walkthrough

<div class="card-video">
  <video src="https://storage.googleapis.com/helpsessionvideos/Contactswing/Videos/Integration/OpenAI/openai-integration.mp4" autoplay playsinline controls title="OpenAI Integration" />
</div>

# Step-by-step guide

Follow these steps to add the OpenAI integration:

<Steps>
  <Step title="Go to the Integrations section">
    Locate and select the **Integrations** section within your application. This area lets you connect with various external services to enhance your AI Agents' capabilities. You see a list of integrations available for connection.

    <img src="https://storage.googleapis.com/helpsessionvideos/Contactswing/images/Integration/OpenAI/openai1.jpg" alt="Integrations" />
  </Step>

  <Step title="Select OpenAI and connect your account">
    Click the **OpenAI** integration option to proceed with connecting your OpenAI account. This enables you to use the OpenAI model while creating agents. You need to provide your OpenAI API key.

    * **API Key**: Enter your OpenAI API key.

    <img src="https://storage.googleapis.com/helpsessionvideos/Contactswing/images/Integration/OpenAI/openai2.jpg" alt="OpenAI integration" />
  </Step>

  <Step title="Finalize the integration">
    After you enter the required details (API key and description), click **Connect** to finalize the integration with your OpenAI account.
  </Step>
</Steps>

## Connect your OpenAI API key with your agents ✨
