# Generate API Key

API keys are essential for using the PropulsionAI SDK and integrating your models into external applications. Follow these steps to generate your API keys:

### **1. Set Up Billing**

Before generating an API key, you need to ensure that your billing information is set up:

* **Step 1:** When you sign up, you receive $25 in free credits, which will be visible in your account under the **"Billing"** section.
* **Step 2:** Although you have initial credits, you still need to set up a payment method for any additional usage. Go to the **"Billing"** section from the sidebar menu.
* **Step 3:** Click **"Add Card"** and enter your payment details to set up your billing.

### **2. Generate API Keys**

After setting up billing, you can generate API keys for your project:

* **Step 1:** Go to the **"API Keys"** section in your project dashboard.
* **Step 2:** You’ll see options to generate two types of API keys:
  * **Development Key**: This key is used for testing and development purposes.
  * **Production Key**: This key is intended for production environments where your model will be actively used by your end-users.
* **Step 3:** Click **"Generate"** next to the type of API key you need. The key will be generated and displayed on the screen.

### :exclamation:**Important**

* **Keys Visibility**: The API keys will only be visible once after generation. Even PropulsionAI cannot access your keys after they are generated. If a key is lost, it will need to be regenerated, and any applications using the old key will lose access.
* **Secure Your Keys**: Ensure that you store your API keys securely, as they are critical for accessing PropulsionAI’s API through the SDK.

\
By following these steps, you’ve successfully set up your billing and generated the API keys required to start using the PropulsionAI SDK. Remember to securely store your keys, as losing them will require regeneration, impacting your applications.


---

# 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.propulsionhq.com/quick-start/generate-api-key.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.
