Skip to main content
All CollectionsIntegrations
Tackle - Orb integration
Tackle - Orb integration

Install, configure, and use Tackle with your Orb billing platform to generate invoices effortlessly.

Steve Stormoen avatar
Written by Steve Stormoen
Updated over 2 weeks ago

The Tackle-Orb integration connects your Orb billing platform to the cloud marketplaces using Tackle. With this integration, Tackle automatically calculates metering usage based on Orbโ€™s invoice amount due and submits that to the AWS Marketplace, Google Cloud Marketplace (GCP), or Microsoft commercial marketplace (Azure).

This article will guide you through installing your Tackle - Orb integration, then show you the next steps to start using Tackle metering data together with your Orb invoices.

Install the Tackle - Orb integration

To set up the Tackle - Orb integration, you'll need to complete four steps:

  1. Create an Orb API key

  2. Create an Orb webhook signing secret

  3. Select a billing dimension for both Tackle and Orb

  4. Create a new subscription in Orb with Tackle metadata

Step 1: Create an Orb API key

Tackle needs access to Orb to look up the total amount due for each subscription and invoice. To do so, we'll create an Orb API key and use it in Tackle to allow access:

  1. Sign in to your Orb account and go to app.withorb.com/api-keys๐Ÿ”—.

  2. Follow the instructions in Orb to create a new API key for Tackle. For more information, consult the documentation from Orb at https://docs.withorb.com/overview#authentication๐Ÿ”—.

  3. Copy the keyโ€™s value, then sign in to Tackle and navigate to Integrations > Orb > API Key๐Ÿ”—.

  4. Paste your API key value in the Orb Api Key field, then click Save. Note that the API key's value remains encrypted until itโ€™s in use.
    โ€‹

    Return to your Tackle platform and paste the API key you copied from Orb into the Orb API Key field.

  5. Click Save.

Step 2: Create an Orb webhook and signing secret

Next, we'll create a new webhook in Orb to push data automatically to Tackl whenever a certain event takes place. Tackle listens to several event types to make sure data stays in sync and metering usage is submitted to the marketplace in a timely manner. To create a webhook and signing secret:

  1. Return to your Tackle account and go to Integrations > Orb > Webhook. Copy the Webhook URL, then click "Create your webhook" or go to app.withorb.com/webhooks๐Ÿ”— to return to your Orb account.

  2. Use the Webhook URL you copied to create a new webhook for Tackle. Your Webhook URL should look something like this:

    https://orb.tackle.io/webhooks/{your unique identifier}
  3. After you create the webhook, copy the Orb webhook signing secret. Then return to Tackle > Integrations > Orb > Webhook๐Ÿ”— and paste the secret in the Signing Secret field. Note that the value remains encrypted until itโ€™s in use.
    โ€‹

    In the Tackle settings for your Orb integration, the Webhook section includes your Webhook URL with a button to copy it, as well as a Signing Secret field, where you need to paste your webhook signing secret found in Orb.

  4. When you're finished, click Save.

Step 3: Select a billing dimension for each product

While Orb recommends๐Ÿ”— that you โ€œset up a single metric when configuring your offering that represents the total number of cents that you will charge a specific customer for your service,โ€ you can have different dimensions and pricing per unit in Tackle. You will need to select which dimension Tackle should use when submitting metering usage for that product to the cloud marketplace. To select a dimension for each product:

  1. Under the Product to Dimension Configuration section, select a dimension to use for each product. Your selection will influence the price per unit when metering, and as a result, will dictate how much usage to submit to the marketplace based on the amount due from Orb.
    โ€‹

  2. Click Save dimension configuration.

Step 4: Set up the integration in Orb

Finally, we'll set up your Orb account to include Tackle metering usage in your billing to your cloud marketplaces. To do so, you'll need to add a reference to Tackle in your Orb subscription metadata. Learn more about adding metadata to a subscription๐Ÿ”—.

  1. If you don't have one already, create a subscription in your Orb account for billing. This is a common step in your buyer registration process.

  2. In your Orb subscription, add new metadata to indicate which marketplace, buyer, and product for which you're tracking usage. You can find this metadata in your Tackle order notifications.


    Your metadata must be formatted as follows:
    โ€‹

    {
    tackle_cloud_type: 'aws' | 'azure' | 'gcp',
    tackle_cloud_product_id: string,
    tackle_cloud_customer_id: string
    }

  3. After you set up the integration and the information is updated, you can verify if the metadata exists by fetching a subscription๐Ÿ”—.

Next steps

Now that you've successfully set up the integration in Tackle and the subscriptions in Orb include the necessary metadata, Tackle and Orb will start working together automatically. Every time Orb issues a new invoice event events๐Ÿ”—, it will automatically connect with Tackle to submit metering data to the marketplace. It will also calculate the total metering usage based on the invoiceโ€™s amount due and the configured price per unit for that listing and dimension.

You can view metered usage in Tackle > Metering๐Ÿ”—.

Did this answer your question?