> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/connections-and-integrations/integration-guides/openai-platform.md).

# OpenAI Platform

### :sparkles: Auto Provisioning

| **Authentication method** | API key |
| ------------------------- | ------- |
| **Required permissions**  | `Admin` |
| **Required metadata**     | None    |

<details>

<summary><strong>How do I create an API key?</strong></summary>

1. Navigate to Open AI Platform admin console

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/1d7791ad-46fc-4ed8-b8a7-f5640c65f0d2/ascreenshot.jpeg?tl_px=582,312\&br_px=1958,1082\&force_format=jpeg\&q=100\&width=1120.0)

2. Click this settings icon.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/1d7791ad-46fc-4ed8-b8a7-f5640c65f0d2/ascreenshot.jpeg?tl_px=1164,0\&br_px=2540,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=1022,-14)

3. Click `API keys`

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/01c3a389-fe27-497a-9947-0d49d6e95e01/ascreenshot.jpeg?tl_px=0,0\&br_px=1376,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=52,145)

4. Click `Create new secret key`

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/586c2511-97b6-42f5-b403-5fdec3c525fb/ascreenshot.jpeg?tl_px=1164,0\&br_px=2540,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=961,24)

5. Give your API key a name and select the project

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/2c128c1d-3ea0-45b5-86a0-5a293ea8567b/ascreenshot.jpeg?tl_px=768,379\&br_px=2144,1148\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,276)

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/289951ca-139e-4706-a337-d2cae059198b/ascreenshot.jpeg?tl_px=759,419\&br_px=2135,1188\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,277)

6. Click `Create secret key`

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/9446e80f-d569-4fb3-864c-9ccfecce1697/ascreenshot.jpeg?tl_px=732,525\&br_px=2108,1294\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,277)

7. Click `Copy`

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/df6aef30-eda4-4e3b-a150-bfacdff754c7/user_cropped_screenshot.webp?tl_px=0,0\&br_px=2540,1395\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=596,285)

8. Return to Cakewalk and paste the API Key into the corresponding field

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/2d22d4bc-9c91-4721-ab9d-07709d5c1978/ascreenshot.jpeg?tl_px=1164,0\&br_px=2540,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=712,196)

9. Click `Save & Enable`

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-07-16/7f4fc019-8a8c-4b7f-be86-c112f75a5742/ascreenshot.jpeg?tl_px=1164,625\&br_px=2540,1395\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=863,546)

</details>


---

# 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, and the optional `goal` query parameter:

```
GET https://www.cakewalk.security/docs/connections-and-integrations/integration-guides/openai-platform.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
