> For the complete documentation index, see [llms.txt](https://docs.yansalabs.com/tracy-social-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yansalabs.com/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector.md).

# Setting up an AI Connector

{% hint style="info" %}
Tracy Social AI supports OpenAI for AI integration. While it is possible to integrate other AI providers, we recommend OpenAI for the best experience. If you need help integrating a differen AI provider, contact us for help at [yansalabs.com/support](https://www.yansalabs.com/support).
{% endhint %}

Before **Tracy Social AI** can generate AI-powered posts, it is necessary to create a connection to an AI provider.

<figure><img src="/files/gU78nQ1QLEHmB9u7Wa4k" alt=""><figcaption><p>AI Connector</p></figcaption></figure>

* **Endpoint**: AI connector API endpoint URL. Typically, this will be *<https://api.openai.com>*
* **Default**: Determine if this is the default [AI provider](/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector/ai-providers.md) for all new **Social Posts** (*Note: This can be overridden on a Scheduler or Social Post*)
* **AI provider**: The [**AI Provider**](/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector/ai-providers.md) being connected to
* **Allowed models**: [**AI Models**](/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector/ai-models.md) that are allowed for use with this connector. Use this to limit the selections available to users and, thus, to limit spend on AI costs.
* **Default model**: The default [**AI Model**](/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector/ai-models.md) for all new **Social Posts** (*Note: This can be overridden on a Scheduler or Social Post*)
* **Token**: API token for authentication to the [AI Provider](/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector/ai-providers.md). Typically, this is available at <https://platform.openai.com/api-keys>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yansalabs.com/tracy-social-ai/technical-docs/getting-started/setting-up-an-ai-connector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
