Connecting to Confluent Cloud

How the Confluent Cloud Connection Works

After you configure the Confluent Cloud connection in CloudZero, you can view Confluent cost and usage data alongside other Cost Sources in the Explorer.

To set up a Confluent Cloud connection, complete the following steps:

  1. Create a service account in Confluent.
  2. Create an API key for the service account.
  3. Configure the connector in CloudZero.

Prerequisites for the Confluent Cloud Connection

  • OrganizationAdmin or higher level access for the Confluent Organization you want to connect
  • Ability to create a Confluent service account with BillingAdmin access
  • Ability to generate an API key for the Confluent service account

Step 1: Create Confluent Service Account

  1. Log in to Confluent Cloud and navigate to the Accounts and access page from the top right menu:

    The "Accounts and access" link is shown in the top right menu in Confluent.
  2. In the Accounts tab, select Service accounts and click Add service account:

    Select the "Service accounts" button and then "Add service account."
  3. Enter a name and description for the service account and click Next:

    Enter a name and description in the form for creating a service account.
  4. Select the top level Organization in the left sidebar, then click Add role assignment:

  5. Select the BillingAdmin role from the role list and click Add.

  6. Confirm that BillingAdmin appears in the Roles assigned section, then click Next:

    The "Roles assigned" section should display the BillingAdmin role.
  7. Review the service account information, then click Create service account:

    Review the service account information in Confluent before clicking the "Create service account" button.

Step 2: Create API Key

  1. In Confluent Cloud, navigate to the API Keys page from the top right menu.

  2. Click the Add API key button.

  3. Select Service account as the account for the API key.

  4. In the Existing account section, choose the service account you created in the previous step, then click Next:

    Select the service account you created in an earlier step.
  5. Select the Cloud resource management resource scope and click Next.

  6. Optionally, enter a name and description for your API key, then click Create API key:

  7. You’ll see your new API key and secret. Copy and save both the API key and secret immediately. You won't be able to view the secret again after closing this dialog.

    Confluent displays the API key and secret you created for the service account.

Step 3: Create Confluent Cloud Connection in CloudZero

  1. Log in to CloudZero and navigate to Settings > Cloud Integrations.

  2. Click Add Connection and select Confluent.

  3. Paste the Confluent service account API key and secret into the Confluent API Key and Confluent API Secret fields:

  4. Click Continue.

CloudZero will validate your credentials and begin importing Confluent cost data. Once connected, view your Confluent costs in the Explorer alongside your other cloud costs.