- Documentation
- User Application
- Integrations
- Apps and databases connector
Salesforce
The Salesforce integration connects a Cellosign project to your Salesforce org. Your templates can then read Salesforce records to fill in forms, and create, update or delete records and upload the signed documents to them when a form is submitted. With the Cellosign package for Salesforce, you can also start transactions from Salesforce.
The Salesforce Integrations card is at the top of the Integrations screen. It’s shown when Salesforce is included in your organization’s plan, to users with the Implementer, Project manager or Organization manager role. A project can have several Salesforce connections, for example one for production and one for a sandbox.
| To… | See |
|---|---|
| Connect the project to your Salesforce org | This page |
| Read and write Salesforce records from a template | Connect a template to Salesforce and Salesforce connector |
| Format the values that come from Salesforce | Data mapping and conversions |
| Start transactions from a Salesforce flow | Start processes from Salesforce |
Before you start
Section titled “Before you start”- A Salesforce user for Cellosign. You log in to Salesforce with this user when you set up the connection, and Cellosign then reads and writes in Salesforce as this user. The user must be allowed to use the Salesforce API and to read and write the objects and fields that your templates use. We advise a dedicated integration user, so that the connection doesn’t stop when a person leaves.
- A connected app in Salesforce. It gives Cellosign its consumer key and secret. See Create a connected app in Salesforce.
- The Cellosign package for Salesforce, only if you want to start transactions from Salesforce or use synchronization. Connectors in templates work without it. See Start processes from Salesforce.
Create a connected app in Salesforce
Section titled “Create a connected app in Salesforce”Do this in Salesforce, as a Salesforce administrator. The names below are the names in Salesforce Setup.
- In Setup, search for App Manager, and click New Connected App.
- Enter a Connected App Name, for example “Cellosign”, and a Contact Email.
- Select Enable OAuth Settings.
- In Callback URL, enter the address of the Cellosign callback: the address of your Cellosign environment followed by
/callback/salesforce-callback, for examplehttps://cellosign.example.com/callback/salesforce-callback. The Cellosign wizard shows the exact address in its Callback URL step, so you can start the wizard first and copy it from there. - Add these Selected OAuth Scopes:
- Manage user data via APIs (api)
- Manage user data via Web browsers (web)
- Perform requests at any time (refresh_token, offline_access)
- Access unique user identifiers (openid)
- Keep Require Secret for Web Server Flow and Require Secret for Refresh Token Flow selected.
- Clear Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows. Cellosign doesn’t use PKCE, and the login fails when it’s required.
- Click Save. A new connected app can take a few minutes before it works.
- Click Manage Consumer Details, verify your identity, and copy the Consumer Key and the Consumer Secret.
- Under Manage Connected Apps, open the app, click Edit Policies, and set Refresh Token Policy to Refresh token is valid until revoked. Under Permitted Users, make sure the Salesforce user for Cellosign is allowed to use the app.
If your org doesn’t let you create connected apps, create an external client app with the same OAuth settings: callback URL, scopes, consumer key and secret.
Connect the project to Salesforce
Section titled “Connect the project to Salesforce”Prepare the consumer key and secret of the connected app, and the user name and password of the Salesforce user for Cellosign. Allow pop-up windows for Manager Studio in your browser: the Salesforce login opens in one.

- In the left menu, click Integrations.
- In the Salesforce Integrations card, click Add. The Salesforce integration wizard opens.
- The first step lists what to prepare. Click Next. Cellosign adds the connection to the project. It isn’t finished yet: until you finish the wizard, it can’t be used in templates.
- Enter the Alias and the Domain, and click Next.
- Enter the Consumer key and the Consumer secret, and click Next.
- Check that the Callback URL shown is the callback URL of the connected app, and click Login.
- In the Salesforce window, log in with the Salesforce user for Cellosign, and click Allow. The window closes, and the wizard shows “Great job! Cellosign is now connected with your Salesforce account.”
- Click Close.

| Setting | What it does |
|---|---|
| Alias | The name of the connection in Cellosign, at least 5 characters, for example “Salesforce prod”. Template editors select the connection by this name. You can change it later. |
| Domain | The address where you log in to Salesforce, with https:// and without / at the end. Use your My Domain address, for example https://tidewell.my.salesforce.com, or https://login.salesforce.com (https://test.salesforce.com for a sandbox). After you log in, Cellosign replaces it with the address of your org that Salesforce returns. |
| Consumer key, Consumer secret | The values from the connected app, each at least 64 characters. They can’t be changed later. To use another connected app, add a new connection. |
| Callback URL | Read-only. The address that Salesforce returns to after the login. It must be the callback URL of the connected app. |
Previous returns to the previous step and clears the values of the step you leave. Cancel closes the wizard. The unfinished connection stays in the card: click Continue Setup, or its pencil icon (Continue setup) in the list, to go on from the step where you stopped. When the project has other Salesforce connections, the list also shows a trash icon to delete it. When it’s the only one, the card shows only Continue Setup.
If the login doesn’t work
Section titled “If the login doesn’t work”| What you see | What to do |
|---|---|
| No Salesforce window opens | Allow pop-up windows for Manager Studio, and click Login again. |
| “Something went wrong, please verify provided credentials and try again.” | Check the consumer key and secret: click Previous and enter them again. Check the callback URL, the scopes and the PKCE setting of the connected app, and that the user may use the app. If the connected app is new, wait a few minutes. |
| The Salesforce window closes before you finish | The wizard waits about half a minute for the login. Click Login again, and complete the login and Allow without delay. |
The Salesforce Integrations card
Section titled “The Salesforce Integrations card”With no connection, or with one unfinished connection, the card shows the Salesforce logo and an Add or Continue Setup button. Otherwise it lists the connections, with an Add button at the top:
| Column or button | What it shows or does |
|---|---|
| Plug icon | Green: the connection is ready. Gray: the wizard isn’t finished. |
| Alias | The name of the connection. |
| Domain | The address of the Salesforce org. |
| Updated | When the connection was last changed. |
| Gear icon (Connection preferences) | Opens the connection preferences of a ready connection. |
| Pencil icon (Continue setup) | Continues the wizard of an unfinished connection. |
| Trash icon (Delete) | Deletes the connection. See Delete a connection. |
Connection preferences
Section titled “Connection preferences”Click the gear icon of a connection. Salesforce connection preferences opens, with four tabs.
Details
Section titled “Details”| Setting | What it does |
|---|---|
| Alias | The name of the connection, at least 5 characters. The new name also appears in the connectors that use it. |
| Domain | Read-only. The address of the Salesforce org. |
| Consumer key | Read-only. The consumer key of the connected app. |
Click Save to keep a new alias.
Synchronization
Section titled “Synchronization”Synchronization puts your Cellosign templates in Salesforce as blueprints, so that Salesforce flows can start transactions with them. It needs the Cellosign package for Salesforce. Off by default.
| Setting | What it does |
|---|---|
| Switch | Turns synchronization on or off. The text next to it says which: “To enable synchronization click on switch control” when it’s off. |
| Filter tags | Shown when synchronization is on. Only templates with at least one of these tags are synchronized. Type a tag and press Enter to add it. Leave it empty to synchronize all the project’s templates. |
Click Save. A template is synchronized each time it’s saved: its blueprint in Salesforce is replaced with the current one. When you turn synchronization on, existing templates are synchronized the next time you save them. When a template is deleted, its blueprint is removed.
Connection tests
Section titled “Connection tests”| Panel | What it does |
|---|---|
| Salesforce instance | Click Pull instance schema to read the list of objects from Salesforce now. Click an object to see its fields, and a field to see its type, whether it’s mandatory, and the objects it refers to. “Schema pull failed …” means that Cellosign can’t read from Salesforce. See Health checks. |
| Salesforce request ID | For the Cellosign package: enter the ID of a Create Process Log record in Salesforce and click Execute request. Cellosign downloads the record to your browser as a JSON file, with the request that the package sent. |
Cellosign keeps the list of objects and their fields for some time, by default 24 hours, and the template editor shows this list. After you add an object or a field in Salesforce, click Pull instance schema, and click the changed object to read its fields again. The template editor then shows them.
Click Re-create refresh token to log in to Salesforce again. The Salesforce window opens, as in the wizard. After the login, “Token was successfully re-created !” appears, and Cellosign works as the user who logged in. Do this when you get an alert that the connection doesn’t work, or to change the Salesforce user of the connection.
Health checks
Section titled “Health checks”Every hour, Cellosign checks each Salesforce connection by reading its list of objects. When the check fails, an alert is sent to the addresses in Send logs and errors to this address of the project, every hour until the connection works again. Its subject is “[UNHEALTHY] SF <alias> from project <project> is unhealthy”. See Project alerts.
The usual causes are that the Salesforce user was deactivated or lost its access to the API, the refresh token was revoked, or the connected app was changed or deleted. Fix the cause in Salesforce, and then click Re-create refresh token on the Token tab.
Delete a connection
Section titled “Delete a connection”- Click the trash icon of the connection.
- In Confirm Delete, click Delete.
Connectors that use the connection stop working and show Connector not available in the template editor. To move them to another connection, see Fix a connector.