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
- Log in to your Pigment account.
- Open your Workplace settings and click API Keys.
- Click + Create API key.
- 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. - Under Key type, choose Export and Modeling metadata.
- Click Generate.
- 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
- Open the Pigment list, metric, or table you want to sync.
- In the page URL, copy the value after
viewId=. Forhttps://pigment.app/application/5821/tables/forecast?displayMode=Grid&viewId=v7k3q9, you would copyv7k3q9: that's your view ID. - 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
- Enter the API Key.
- Enter the View IDs.
- Enter an Asset Name.
- (Optional) Enter an Asset Description.
- Select Owners.
- (Optional) Select Tags.
- Verify that your Pigment account is successfully connected by clicking on Test Connection.
- Click Connect.