Skip to main content

Data Sources

Data sources dynamically populate config variables with data from your customers' third-party apps. Each customer's third-party configuration is different, so instead of asking customers to type IDs, you can let them choose from their own Slack channels, Google Drive folders, or Salesforce fields.

Get startedDynamic data sources

Watch a video on building data source-backed config variables, from a placeholder API to Salesforce, and testing them locally.

GuideWriting custom data sources

Write picklist, object selection, and JSON Forms data sources in a custom connector.

GuideWhat are JSON Forms?

Collect structured input, like field mappings, in a single config variable.

GuideCode component data sources

Build a one-off data source with the code component, and learn when to use a custom connector instead.

How data sources work​

A data source uses a connection to fetch data from a third-party app. When customers configure the integration, they authenticate with the third-party application on the first config page. On later pages, they see config variables populated with data loaded from that third-party service.

To populate a config variable dynamically from a data source, first ensure that a connection config variable for the third-party application exists on your first config page. Prismatic automatically creates these connections when you add a step from that third-party to your integration. On subsequent pages, add your desired config variables. Under Data Source, select the component and data source you want to use (for example, the Slack Select Channel data source).

Many built-in connectors include data sources for common configuration tasks (like selecting records from dropdown menus). To build your own data sources, either using an existing built-in connector's connection or adding a data source to your custom connector, see Writing custom data sources.