# OpenAI Assistant

## Selecting the Connection Type

Once you have [selected your connection type](https://docs.probe.splx.ai/ai-red-teaming/probe/add-target/integration-setup#selecting-a-connection-type), a configuration tab will appear on the next step, prompting you to input the required connection details.

## Integration Setup

<figure><img src="https://1029475228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi12bk7lo75SODuwcRCQp%2Fuploads%2F0MbLgndD1f1DUPAYoAYd%2F2_openAI_Assistant.png?alt=media&#x26;token=26dd62f8-c0c5-41eb-9103-d7696a01f5bc" alt=""><figcaption><p>Figure 1: OpenAI Assistant Integration</p></figcaption></figure>

* **API Key** - Your OpenAI API key. You can find the secret API key on the OpenAI Platform's [API key page](https://platform.openai.com/api-keys).
* **Assistant ID**  - The ID of your OpenAI assistant. To retrieve the ID, go to the OpenAI Platform, navigate to your project's dashboard, and open the [Assistants page](https://platform.openai.com/assistants/). The ID is displayed under the assistant's name.

For more information, you can explore the official OpenAI Platform documentation, [Assistants section](https://platform.openai.com/docs/assistants/overview).
