# Authentication

To use the CorpDev.Ai API, you need a valid API key. Here’s how to get started:

1. **Subscription Requirement:** Ensure you have a paid subscription that includes API access (Professional tier or above).
2. **Generate API Key:** Log in to your CorpDev.Ai account, navigate to `Account Settings > API Access`, and generate your API key.

#### Making Authenticated Requests

Include your API key in the `X-API-Key` header of your HTTP requests, formatted as follows:

```http
X-API-Key: YOUR_API_KEY
```

Keep your API key secure and do not share it publicly.


---

# 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.corpdev.ai/corpdev.ai-docs/api-intro/authentication.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.
