WEBVTT

1
00:00:00.000 --> 00:00:15.333
Here's how to connect Cloudflare to CostCompass. There are two ways. Connect with OAuth in a couple of clicks, or paste a read-only API token, which also brings in your plan fee and billing cycle. We'll walk through both.

2
00:00:15.533 --> 00:00:30.033
On the Cloudflare card in CostCompass, click Connect with Cloudflare. It's the quickest setup, but it can't see your plan fee or billing cycle. For those, use an API token, shown later in this video.

3
00:00:30.233 --> 00:00:43.333
Cloudflare asks for three permissions: Background Access to keep the connection refreshed, Account Analytics Read for your usage, and Account Settings Read to list your accounts. Click Authorize.

4
00:00:43.533 --> 00:00:51.167
Back in CostCompass, pick the accounts you want to track and click Add. Each account becomes its own card on your dashboard.

5
00:00:51.367 --> 00:00:54.667
The other way is an API token you create yourself.

6
00:00:54.867 --> 00:01:03.233
Sign in at cloudflare dot com. In your account, open Manage account in the left sidebar, then click Account API tokens.

7
00:01:03.433 --> 00:01:08.400
On the Account API tokens page, click Create Token in the top right.

8
00:01:08.600 --> 00:01:15.300
Give the token a name you'll recognize, like CostCompass. Change the scope to what is appropriate for you.

9
00:01:15.500 --> 00:01:26.267
Add two read permissions. Under Analytics and Logs, set Account Analytics to Read. Under Account and Billing, set Billing to Read. That's all CostCompass needs.

10
00:01:26.467 --> 00:01:35.200
Choose a token expiration that suits you. Leave it with no expiration, or pick a window you'll renew. Then click Review token.

11
00:01:35.400 --> 00:01:41.100
Check the summary shows Account Analytics Read and Billing Read, then click Create token.

12
00:01:41.300 --> 00:01:46.867
Copy the API token. It's shown only once, so copy it before you leave this page.

13
00:01:47.067 --> 00:01:59.867
Back in CostCompass, paste the token into the API key field on the Cloudflare card. CostCompass finds the accounts the token can reach. Pick the one to track, then click Add.

14
00:02:00.067 --> 00:02:05.967
Whichever method you picked, your Cloudflare spend appears the next time you refresh in CostCompass.
