# Setting Up AI Providers

## Step 1 - Configure Your AI Provider

1. Set up your account with **OpenAI** or another AI provider.
2. Obtain your **API Key** and add it to your `.env` file.

```env
OPENAI_API_KEY=your-openai-api-key
CHAT_BOT_MODEL=gpt-4
```

## Step 2 - Wrapping Your App with the AI Provider

In SSK-Pro, the @pro/RootLayout component handles wrapping your entire app in the AI provider. This ensures that AI services, such as chatbots or dynamic content generation, are available throughout your application without additional manual setup.

Simply configure the environment variables, and the AI provider will be globally accessible through the @pro/RootLayout component.

By following these steps, you will have your AI provider integrated into your application. For more information on additional configurations and AI provider support, visit the SSK-Pro documentation.


---

# Agent Instructions: 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.startupstarterkits.com/ssk-pro-features/index/chapter-1.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.
