# Setup

Thanks for purchasing BoltAI! Follow the simple guide below to get started.

## Installation

* [Download the latest version](https://boltai.com/latest) if you've not already.
* Open the disk image `BoltAI.dmg` .
* Drag and drop `BoltAI` app into `/Application`

<figure><img src="/files/a0X8LDTZ8FA0moNIIXjp" alt=""><figcaption><p>Set up BoltAI</p></figcaption></figure>

## Enter your API Key <a href="#id-3-enter-openai-api-key" id="id-3-enter-openai-api-key"></a>

* Select your favorite AI Service Provider. For example, OpenAI.
* Enter your API Key then click **Validate API Key**
* (Optional) You can select a different AI Service and configure its API key

{% hint style="warning" %}
**Notice**

* Your OpenAI account must have a valid billing address setup
* Recently, OpenAI requires all API accounts to purchase credits to continue using the API keys. Follow this [official guide to set up prepaid billing](https://help.openai.com/en/articles/8264644-what-is-prepaid-billing)
* Your OpenAI API key is different than the License Key. Your OpenAI API key should look something like this:

  `sk-jGa7ZmT5LQV9nsrUv6iE1cAa2Xf8w3xhDbyt4NqFzOo0pRgSdYkMlHJWCBuPv`
  {% endhint %}

<figure><img src="/files/MU3jQBy9lGs59V3UMkOh" alt=""><figcaption><p>Setting up OpenAI API Key</p></figcaption></figure>

## (Optional) Setup BoltAI Inline <a href="#id-2-grant-permissions" id="id-2-grant-permissions"></a>

To use the AI Command or AI Inline feature, you need to grant BoltAI the Accessibility permission. Follow these step to do it:

* Find the menu item **Window > Setup AI Inline**. You should see a welcome screen
* Click **Continue**
* Click **Grant Permissions**

{% embed url="<https://scribehow.com/embed/Grant_Permissions_for_BoltAI__WmvmxVWzTSyu16YUoOHMbQ?removeLogo=true>" %}
How to grant the Accessibility permission
{% endembed %}


---

# 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.boltai.com/docs/start/setup.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.
