Looking to connect Spekit to Salesforce? This guide walks you through the prerequisites, connection steps, and key configuration details needed to integrate your Spekit instance with Salesforce. Completing this process requires collaboration between a Salesforce Administrator and a Spekit Administrator.
đ Quick-Jump Topics
- Step 1: Meet the Prerequisites (Salesforce Admin)
- Step 2: Connect from the Spekit Web App (Spekit Admin)
- Step 3: Install the Spekit OAuth App in Salesforce (Salesforce Admin)
- Sandbox Limitations
- Version Control for Metadata
- How Often Salesforce Metadata Is Updated
- How to Enable "Modify Metadata Through Metadata API Functions"
- How to Enable the "API Enabled" Permission
- How Much of Your Salesforce API Limits Does Spekit Use
Step 1: Meet the Prerequisites (For your Salesforce Admin)
What do I need to set up before connecting Salesforce to Spekit?
Before connecting, you must ensure your Salesforce integration user has the required permissions. If you do not already have a dedicated integration user, one should be created for this process.
Required Salesforce Profile Permissions:
- Modify Metadata Through Metadata API Functions
- API Enabled
- No IP Restrictions: Optional, but recommended for uninterrupted syncing.
Step 2: Connect from the Spekit Web App (For your Spekit Admin)
How do I initiate the Salesforce connection from Spekit?
After the prerequisites are complete, a Spekit Admin can initiate the connection from within Spekit. This step makes the Spekit OAuth app available in Salesforce for installation.
- From the Spekit Web App, click Settings.
- Click Connect.
- Click Connect to Salesforce.
- Check the Sync User's profiles checkbox to import the list of Salesforce users who can be invited to Spekit.
âšī¸ Note: Leave this unchecked if you are connecting an IdP (Okta, OneLogin, Azure, etc.) with SCIM 2.0.
- Check the confirmation checkbox: I have the required Salesforce permissions.
- Click Connect a Salesforce Production or Developer Org.
- You'll be redirected to log in to Salesforce. Enter your Spekit Integration Salesforce username and password.
- Click Log In.
âšī¸ Custom Domain: If your company uses a custom domain (e.g.
https://somethingcool.my.salesforce.com), click Use Custom Domain in the bottom-right corner, enter your custom domain (e.g.somethingcool), and click Continue. - A pop-up will prompt you to Allow Access for the Spekit OAuth app. Click Allow.
- Allow the initial Salesforce sync to complete before navigating away from the page. This may take a few minutes.
Step 3: Install the Spekit OAuth App in Salesforce (For your Salesforce Admin)
How do I install the Spekit OAuth app in Salesforce?
This step is critical for securely connecting Spekit with your Salesforce instance and preventing common permission errors. A Salesforce Administrator must complete this step after Step 2 has been performed.
- Log in to Salesforce and open Setup:
- Click the gear icon âī¸ in the upper-right corner.
- Select Setup from the dropdown menu.
- Navigate to Connected Apps:
- In the Quick Find search bar on the left, type
Connected Apps. - From the results, click Connected Apps OAuth Usage.
- In the Quick Find search bar on the left, type
- Locate and install the Spekit OAuth app:
- In the list of connected apps, find Spekit OAuth.
- Click the Install action on the right side of the page.
- Follow the prompts to complete the installation.
Once the OAuth app is installed, the Spekit Administrator can proceed with the connection.
What Are the Limitations of Connecting Spekit to Sandbox?
What should I know before connecting Spekit to a Salesforce sandbox?
- Each Spekit account can only be connected to one Salesforce org at a time (sandbox, production, or free developer).
- You can test with as many sandboxes as you want - simply create a new Spekit account for each sandbox.
- For ongoing use, we strongly recommend connecting to your Salesforce production org. Spekit does not support Salesforce sandbox refreshes - doing so will break the integration since the Salesforce org and user IDs will change.
- Spekit can transfer content from a sandbox account to production on your behalf when you're ready.
Does Spekit Maintain Any Version Control for My Metadata?
What metadata changes does Spekit track?
Spekit should not be viewed as a metadata backup system, but it does store logs for specific changes made directly in Spekit.
Spekit tracks the following:
- Last Edited On in Spekit
- Last Edited By in Spekit
Spekit also displays the following from Salesforce (not stored as a log):
- Last Synced from Salesforce (last date only)
How Often Is the Salesforce Metadata Updated in Spekit?
How do I pull in the latest Salesforce metadata?
As an Admin, you can re-sync metadata from your Salesforce org at any time by going to Settings â Connect and clicking Sync now. You may be asked to re-authenticate by logging into Salesforce.
How to Enable "Modify Metadata Through Metadata API Functions"
How do I enable the Modify Metadata permission for the integration user?
The Modify Metadata Through Metadata API Functions permission is set at the Profile level. Follow these steps to enable it:
- Click the gear icon âī¸ in the upper-right corner of Salesforce.
- From the dropdown, click Setup.
- Under the Administration header, click Users â Profiles.
- Locate and click on the Profile associated with the Salesforce integration user.
- Click System Permissions.
- Click Edit.
- Scroll down to Modify Metadata Through Metadata API Functions and check the checkbox â.
- Click Save.
How to Enable the "API Enabled" Permission
How do I enable the API Enabled permission for the integration user?
The API Enabled permission is set at the Profile level. Follow these steps to enable it:
- Click the gear icon âī¸ in the upper-right corner of Salesforce.
- From the dropdown, click Setup.
- Under the Administration header, click Users â Profiles.
- Locate and click on the Profile associated with the Salesforce integration user.
- Click System Permissions.
- Click Edit.
- Scroll down to API Enabled and check the checkbox â.
- Click Save.
How Much of Your Salesforce API Limits Does Spekit Use?
Does Spekit automatically consume Salesforce API calls?
- Spekit does not automatically run the Sync now process.
- The sync is 100% manually triggered from the Connect page in the Spekit Web App.
- Only run Sync now when changes have been made in the connected Salesforce org that you want to pull into Spekit.
API call estimates per sync:
- As a rough benchmark, 12 imported objects = approximately 170 API calls per sync.
- This can be higher if you have many installed package fields on standard objects or very large objects.
- For larger organizations, this can reach approximately 400 API calls at the upper end - though every implementation is different.