04c) Creating a DNS Zone API Key
Creating the DNS Zone API Key
Back in the step named Cosmos hostname setup, we left off at this part, where we had to enter information about the "DNS Challenge".
We will continue where we left off!
We're going to need to create a DNS API Token, that we can put into the
CLOUDFLARE_DNS_API_TOKEN
in the Cosmos Setup.To do that, we need to head to the Cloudflare API Dashboard.
In there, select "Create Token"

In the next step, select to use the "Edit zone DNS" template

In the next step, find where it says "Zone Resources" and select your domain in the box where it's currently saying
Select...

Select the "Continue to summary" button at the bottom of the page:
In the next menu, select "Create Token":

Now you'll get the
CLOUDFLARE_DNS_API_TOKEN
token. Remember to copy it!

On to the next step!
Last updated