Skip to main content

Pigment Setup Guide

Prerequisites

  • Workspace admin access to your Pigment account.

Note: Only Workspace Admins can create API keys. The key returns only the data that its owner can see in Pigment, so create it with a user that has access to every view you want to sync.

Setup Guide

Step 1: Generate an API key

  1. Log in to your Pigment account.
  2. Open your Workplace settings and click API Keys.
  3. Click + Create API key.
  4. Give the key a Name, such as Matia, and set its Expiration date. The key stops working on that date, so pick one well beyond how long you plan to sync.
  5. Under Key type, choose Export and Modeling metadata.
  6. Click Generate.
  7. Copy the key and keep it somewhere safe: you'll paste it into the API Key field in Matia.

Note: Keys in the old dashed format must be regenerated. If your key is in that format, generate a new one.

Step 2: Find your View IDs

  1. Open the Pigment list, metric, or table you want to sync.
  2. In the page URL, copy the value after viewId=. For https://pigment.app/application/5821/tables/forecast?displayMode=Grid&viewId=v7k3q9, you would copy v7k3q9: that's your view ID.
  3. Repeat for every view you want to sync. To sync several views with one connection, separate their IDs with commas.

Note: Pigment recommends creating a dedicated view for the API export.

Note: View IDs are fixed once the connection is set up. To sync a different set of views, set up a new connection.

Step 3: Complete Configuration in Matia

  1. Enter the API Key.
  2. Enter the View IDs.
  3. Enter an Asset Name.
  4. (Optional) Enter an Asset Description.
  5. Select Owners.
  6. (Optional) Select Tags.
  7. Verify that your Pigment account is successfully connected by clicking on Test Connection.
  8. Click Connect.