Clouldflare Workers (UI Integration)

Setup Onboardbase to manage Cloudflare Workers secrets via the Onboardbase web platform

You can also push secrets from Onboardbase into your Cloudflare worker via the Onboardbase UI Integration for Cloudflare.

For this integration to work, we assume you already have a KV store on Cloudflare with at least one namespace in it.

You will have to create an API token on Cloudflare with some minimum permissions. From the Cloudflare dashboard, go to My Profile > API Tokens.

You need to create a custom token with the following permissions (minimum)

After the token has been created, you will need to copy it.

Navigate to the Onboardbase Project you want to integrate with, on the project page, click on the Integrations tab:

Click on Add Integration in the new tab opened.

As we have a lot of Cloud Integrations possible, you can search for Cloudlfare in the search bar on the Add Integration page:

Click Add next to Cloudflare Workers KV. A modal pops up for you to provide the necessary information Onboardbase needs to integrate with your Cloudflare worker.

You first need to select the Onboardbase environment you want to sync with your Cloudflare worker, then you provide the API token. We verify the token and then list the Cloudflare account(s) linked to that token.
After selecting the correct Cloudflare account, you will then be prompted to select a namespace.

After selecting the namespace, click on Proceed to complete the integration. When the integration is complete, we will upload the current secrets on Onboardbase to the KV namespace you provided. We will also sync new secrets added to the environment on Onboardbase to Cloudflare.

Common Issue: I don't see a list of Cloudflare Accounts After Inserting an API Token from Cloudflare

If you provided an API token from Cloudflare while integrating with Onboardbase and you are not shown a list of accounts linked to that Token, it means the token does not have the required minimum permissions.

The minimum permissions we need are: