API Credentials for Cloudflare Vectorize

Guide to obtaining tokens, keys, and connections.

To access the Cloudflare Vectorize service you need two pieces of information: 1) the “Account ID,” which identifies your Cloudflare account, and 2) the “Token,” which authorizes your API requests. Below you’ll find step‑by‑step instructions for obtaining each one.

Token

  1. 1

    Go to https://cloudflare.com and sign in with your email and password.

  2. 2

    Click the gray Cloudflare icon in the upper‑left corner to open the side menu.

  3. 3

    In that menu, choose “Manage account.”

  4. 4

    Inside the account section, click “Account API tokens.”

  5. 5

    Click the “Create token” button.

  6. 6

    Scroll down to “Custom token” and click the “Get started” button on the right.

  7. 7

    In “Token name,” enter something memorable, for example “botize.”

  8. 8

    Under “Permissions,” select: “Account” → “Vectorize” → “Edit.”

  9. 9

    Click “Continue to summary.”

  10. 10

    Review the details and click “Create token.”

  11. 11

    Your Token will now be displayed. Copy it and store it in a safe place (it’s shown only once).

Account ID

  1. 1

    While logged in, look at your browser’s address bar. The URL will look like this: https://dash.cloudflare.com//api-tokens.

  2. 2

    The text between “https://dash.cloudflare.com/” and “/api-tokens” is your Account ID. For example, in https://dash.cloudflare.com/2f06c21f93769e00a9ee444/api-tokens, the Account ID is 2f06c21f93769e00a9ee444.

  3. 3

    Copy your Account ID and keep it together with the Token so you can use both in Cloudflare Vectorize API calls.