Prerequisites
- A Salesforce organization with Enterprise edition or higher
- A Salesforce user with System Administrator (or equivalent) permissions for the initial one-time setup: installing the managed package, creating custom fields, editing page layouts, and assigning permission sets
Why Enterprise edition or higher? The Stigg package contains custom Apex classes (server-side code). Salesforce Professional and Essentials editions do not support custom Apex, so attempting to install the package on those editions will result in a “Missing feature: Apex Classes” error.If you’re just testing the integration, sign up for a free Salesforce Developer Edition org. Developer Edition fully supports custom Apex classes and works identically to Enterprise for integration purposes.
Connect your Salesforce domain
Open the Salesforce integration in Stigg
In the Stigg app, go to the Integrations section and click on the Salesforce tile.
Enter your Salesforce domain
Enter the domain of the Salesforce instance you want to integrate with Stigg.
Install the Stigg app
Assign the Stigg permission set
After installing the package, assign the Stigg permission set to the user that will run the integration. This grants the user access to the Stigg custom objects and Apex classes included in the package.Open Permission Sets in Salesforce Setup
In Salesforce, click the Setup gear icon and select Setup.
In the Quick Find search box, type
In the Quick Find search box, type
Permission Sets and select it from the results.Minimum required permissions for the integration user
For production setups, we recommend running the integration as a dedicated non-admin user with minimal permissions, rather than a system administrator. The Salesforce Flow runs in the context of the user who triggers it. That user needs the following standard object access:| Object | Access | Purpose |
|---|---|---|
| Opportunity | Read | Trigger object; provides opportunity data to the flow |
| OpportunityLineItem | Read | Reads product line items and Stigg Type/ID mappings |
| Product2 | Read | Reads the Stigg Type and Stigg ID custom fields |
| PricebookEntry | Read | Resolves product/price book associations |
| Account | Read + Edit | Writes back Stigg Customer ID and deep-link URL |
| Contact | Read | Reads the customer email for provisioning |
- Manage Flows — only required to build or edit flows, not to run them
- Customize Application, Manage Users, or any other admin or setup permissions
- System Administrator profile
Standard object access can be granted via a custom permission set or a lightweight Salesforce profile (e.g., based on the “Minimum Access - Salesforce” platform profile). Combine this with the Stigg permission set and API Enabled to cover everything the integration needs.
Configure API key
Copy your API key from Stigg
In the Stigg app, copy the generated Integration API key.
Open the Stigg app in Salesforce
Go to Salesforce and open the App Launcher.
- Search for “Stigg”
-
Select the Stigg app from the results

Map Salesforce and Stigg entities
Understand the purpose of entity mapping
Provisioning entities in Stigg based on Salesforce data requires a mapping between the two systems.
This mapping is defined within Salesforce using custom fields that connect Salesforce entities (like Products) to their counterparts in Stigg.
This mapping is defined within Salesforce using custom fields that connect Salesforce entities (like Products) to their counterparts in Stigg.
Add Stigg mapping fields in Salesforce
In Salesforce, go to the entity type you want to map to Stigg (e.g., Product).
Add the following custom fields:
Add the following custom fields:
-
Stigg Type (Picklist/Enum):
Indicates what kind of Stigg entity this is. Supported values:
"Plan": maps to a custom plan in Stigg"Add-on": maps to an add-on in Stigg"Entitlement": maps to a custom entitlement in Stigg"Credit entitlement": maps to a recurring credit grant entitlement in Stigg. Use this when the product represents a variable credit allocation (e.g., AI credits) that should be provisioned as part of the subscription. The credit amount is passed dynamically via the Subscription Credit Entitlements parameter in the provisioning flow.
-
Stigg ID (Text):
The unique identifier of the matching entity in Stigg
- Example prefixes:
plan-for plansaddon-for add-onsfeature-for entitlementscred-type-for credit entitlements
- Example prefixes:
Add the fields to the page layout
To make the new custom fields editable in the UI:
- Add them to the entity’s default page layout
💡 If you’re using Salesforce price books, products, or CPQ, it’s highly recommended to add the fields to the Product entity, as shown below:

Troubleshooting field visibility — fields added but not appearing?If you’ve added the Stigg ID and Stigg Type fields to the page layout but they remain hidden or uneditable, the issue is likely Field-Level Security (FLS):
- In Setup, go to Object Manager → Product → Fields & Relationships
- Click on the Stigg ID (or Stigg Type) field
- Click Set Field-Level Security
- Ensure the field is marked as Visible for the System Administrator profile (and any other profiles that need access)
No formula fields needed. When the Stigg Type and Stigg ID fields are on the Product object (recommended), the Salesforce Flow handles the Opportunity → OpportunityLineItem → Product traversal natively. You only need formula fields or additional Flow logic if you place the mapping fields on a non-standard object that the Flow does not already traverse.




