# Getting Started

## Sign up for BlitzBear (est. 2 min)

1. [Sign up for a BlitzBear account here](https://app.blitzbear.com/signup)
2. Create your first BlitzBear project from your dashboard
3. (Optional, but required for *⚡️ Lightning Mode*) BlitzBear needs your Cloudflare API token to publish posts. Follow the instructions below to get your Cloudflare API token.

## Get your Cloudflare API token (est. 2 min)

BlitzBear utilizes Cloudflare to serve your SEO-optimized blog pages. This means your blog domain must be hosted on Cloudflare. To provide BlitzBear access to Cloudflare, you must create a new API token.

{% tabs %}
{% tab title="Instructions" %}

1. Log in to Cloudflare and visit <https://dash.cloudflare.com/profile/api-tokens>
2. In the "API Tokens" section, click "Create Token"
3. Next to "Edit Cloudflare Workers", click "Use template"

   <figure><img src="/files/rzgajtScNWFUVcRirtd5" alt=""><figcaption></figcaption></figure>
4. Click the edit icon, and rename the token name to `API Token for BlitzBear`

   <figure><img src="/files/hvJfEazRauDTDulhVhvV" alt=""><figcaption></figcaption></figure>
5. Remove permissions for `Workers KV Storage`, `Workers R2 Storage`, `Workers Tail`,  `Cloudflare Pages` and `Memberships`. You should see these four permissions remaining:

   <figure><img src="/files/CTo7BMJtio4MmyyHp4VH" alt=""><figcaption></figcaption></figure>
6. In the "Account Resources" section, choose the account that contains your domain

   <figure><img src="/files/MlKVn3mXLgWYbWZzUnSq" alt=""><figcaption></figcaption></figure>
7. In the "Zone Resources" section, choose the domain that contains your blog

   <figure><img src="/files/ZLFRy0cC0coYQTDqWjAk" alt=""><figcaption></figcaption></figure>
8. At the bottom of the page, click the 'Continue to summary' button then click the 'Create Token' button
9. Copy the token and return to your BlitzBear dashboard, then enter it into your BlitzBear project

{% hint style="warning" %}
The Cloudflare API token will be shown only one time. If you need to retrieve it again, you will have to follow the instructions to generate a new API token.
{% endhint %}
{% endtab %}
{% endtabs %}

### Cloudflare Limitations

BlitzBear uses [Cloudflare Workers](https://workers.cloudflare.com/) to serve your SEO-optimized blog posts. Because Cloudflare Workers provides a generous Free tier with 100,000 requests/day this means that you can have up to 100,000 pageviews per day (or 3,000,000 pageviews per month) on your blog (which includes BlitzBear-enabled blog posts).

If your blog's traffic exceeds 100,000 visitors/day (or if you anticipate this applies to you), please reach out to BlitzBear support at <support@blitzbear.com>.

In the case that you must upgrade to a paid Cloudflare Workers account, the minimum plan starts at $5/mo and comes with 10,000,000 requests/mo.

{% hint style="info" %}
If you have a paid Cloudflare account, note this is different from a paid Cloudflare Workers account. [Learn more here](https://workers.cloudflare.com/).
{% endhint %}


---

# 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.blitzbear.com/getting-started.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.
