> For the complete documentation index, see [llms.txt](https://docs.iheartjane.com/partner-success/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iheartjane.com/partner-success/ecommerce-premium/launching-your-premium-menu-with-cloudflare.md).

# Launching your Premium Menu with Cloudflare

### Step 1: Log in and select your domain

Login to Cloudflare and click on the domain you want to deploy the menu to.

<figure><img src="/files/gbyS0oevxS6wriroWibw" alt=""><figcaption></figcaption></figure>

***

### Step 2: Copy your Account ID and Zone ID

Once the domain page loads, scroll to the bottom of the page. On the right side you will see **Account ID** and **Zone ID**. Copy these and keep handy to add into the Jane Business Dash in a later step.

<figure><img src="/files/EDmAMTPqibrjXApuGaUn" alt=""><figcaption></figcaption></figure>

***

### Step 3: Navigate to API Tokens

At the top left of the page, click **Quick search** and type `api`. You should see an option appear that simply says **API Tokens** — click on that option.

<figure><img src="/files/5h3zo7xJYcdaaBksYxOA" alt=""><figcaption></figcaption></figure>

***

### Step 4: Create a Token

Click **Create Token**, then click **Get Started** on the Custom Token option.

<figure><img src="/files/af3VjUhFzzS8UyxpABZ1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2L1xZZR08i8BQNWy9s3D" alt=""><figcaption></figcaption></figure>

***

### Step 5: Fill out the token form

You will see the form to create a new User API Token. Fill it out with the following:

**Token Name**

* You can put whatever you want here to remember what it's used for (e.g. *Jane Premium Menu*)

**Permissions**

1. Account → Worker Scripts → Edit
2. Zone → Worker Routes → Edit

**Account Resources**

* Include → Your account

**Zone Resources**

* Include → Specific zone → The domain you want to host the menu on.

Review that all settings look correct, then click **Continue to summary** at the bottom of the page.

<figure><img src="/files/qAMHL8QY3pPa4qk9hAPX" alt=""><figcaption></figcaption></figure>

***

### Step 6: Create the Token

Click **Create Token** on the summary page. Then **copy the API Token value** — this will only be shown once.

<figure><img src="/files/RVYS6IKLtxW2sY2uqpbB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Nf8bpVqIgQ27p3qZaUXe" alt=""><figcaption></figcaption></figure>

## Configuring the Business Dash & Launching your menu.

### Step 1: Copy over CF Details to the Business Dash

Navigate to the Premium section of the business dashboard - at the very bottom click into ‘Cloudflare Integrations’ > New Integration.

<figure><img src="/files/aatL0Q50OE8awzXofP96" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/SaiTlLRIuPwsqz5njA41" alt=""><figcaption></figcaption></figure>

### Step 2: Copy your Zone & Account ID&#x20;

Input the **API Token**, **Zone ID** and **Account ID** from Cloudflare into the form. Use the same name you used for the Token name in Cloudflare and input the menu URL into the route pattern field (***Important*****: the route pattern must have an ending \* entered**), following the instructions shown there. If this is a staging page (pre-launch), uncheck the SEO configuration checkbox. If this is a live production page, leave that checked. Scroll all the way to the top and Save and the top right.

<figure><img src="/files/qhZnr6md8iAZlROAZ2d9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/EJ7X40U1zcUQkLUFV1jS" alt=""><figcaption></figcaption></figure>

***

### Step 3: Deploying the Worker/Launching the menu

You will see your configured worker, and when ready to launch the menu, select ‘Deploy’. Select 'Yes, deploy' to continue. Once completed, you can navigate to your menu URL and see the launched Premium menu!

<figure><img src="/files/WIQlVtkyMR65Qw9JMIw9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/VjQIz3CBc2EcGDjipzLi" alt=""><figcaption></figcaption></figure>
