CommunityHire an ExpertSign Up
Data SourcesSalesforce
Data Sources

Salesforce

Using Salesforce as a data source for your Softr app.

Salesforce is the world’s leading customer relationship management (CRM) platform, giving sales, service, and marketing teams a single source of truth for customer data.

Because Salesforce is a relational CRM organized around standard and custom objects, it makes an excellent data source for internal tools, client portals, and dashboards built on Softr. To learn more about Salesforce, visit the official Salesforce website.

In this article, we’ll cover how to connect Salesforce to Softr and take a closer look at the features that matter in that context.

1. Connect your Salesforce account

To use Salesforce in Softr, you must first connect your Salesforce account. Any Salesforce data source you connect in Softr can be used by all of the workspace’s collaborators in all of the workspace’s apps.

Add Salesforce data source to your workspace

  1. Install the Softr app in your Salesforce org.

  2. In the Softr Studio dashboard, click Integrations in the left menu.

  3. Click Connect new.

The Integrations page of the dashboard, with the Connect new button

  1. Select Salesforce in the Select an integration window.

The Select an integration window, with Salesforce selected

Grant access to Salesforce

  1. In the Connect to Salesforce window, click Connect.

The Connect to Salesforce window, with the Connect button

  1. Sign in to your Salesforce account when redirected.

  2. Choose whether to connect a production org or a sandbox org, then approve the requested permissions to complete the connection.

2. Connect your Salesforce data to a Softr app

Once your Salesforce account is connected, you can use the authorized account across one or multiple Softr applications.

Connect Salesforce objects to a Dynamic Block

To display your data in the app, connect a dynamic block (e.g. List, Grid, Table) to your Salesforce objects:

  1. In the block source tab, select the authenticated Salesforce integration.

  2. Choose the Object you want to use.

The Source tab of a List block, with the Salesforce account Acme Corp and the Opportunity object selected

Supported Salesforce Objects

Softr supports the following Salesforce objects:

  • Contacts

  • Leads

  • Opportunities

  • Accounts

  • Cases

  • Custom Objects

Mapping Salesforce object fields

When you select the object type you want to show, you can customize which object fields to visualize. Each Salesforce object has predefined field types like text, picklists, dates, and lookups. Since Softr also has its own field types, it’s important to map fields correctly to ensure your data appears as expected.

For example, if a Salesforce Opportunity stores an attached image URL in a URL field, map it to a Softr Image field in a List block so it displays correctly.

Supported Fields

Softr supports:

  • All standard Salesforce object fields

  • All custom fields you’ve created in Salesforce

However, some read-only fields cannot be edited in Softr, including:

  • Formula fields, Rollup Summary fields, and system audit fields such as Created By, Last Modified By, and System Modstamp.

Salesforce object relationships

Salesforce works as a relational database, meaning objects can be linked together through lookup and master-detail relationships. This allows you to display related data, such as:

  • An Account with multiple Contacts linked to it

  • An Account with multiple Opportunities linked to it

In Softr, you can show related objects using:

  1. Linked List Block

  2. Related record ID fields

Limitations

FAQs

Why can't I see certain Salesforce fields in Softr?

Salesforce enforces field-level security and profile permissions on the API user account that authorized the connection. If a field or object is missing in Softr, verify that the authorizing user’s profile and permission sets grant read (and, where needed, edit) access to those fields.

Can I connect a Salesforce sandbox?

Yes. When connecting Salesforce, choose the sandbox option to authenticate against test.salesforce.com instead of your production org. This is useful for testing your Softr app against non-production data before going live.

Can I use multiple Salesforce orgs in one Softr app?

Yes. You can connect multiple Salesforce accounts, but you’ll need to use separate Softr blocks for each object from each org.

Need More Help?

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.