Skip to main content

Connections Overview

Connections contain the information your integration's steps need to connect to third-party apps and services. A connection is made up of fields such as usernames, passwords, API keys, OAuth 2.0 secrets, host endpoints, and API versions: whatever a component needs to reach an outside service.

Get startedWhat are connections?

Watch a video on the connection types Prismatic offers, when to use each, and how to use them in an integration.

GuideManaging connections

Create and edit connections, choose a connection type, and test connections.

GuideOAuth 2.0 connections

Learn how Prismatic handles OAuth 2.0 token exchange and refresh, and which grant type to use.

What a connection looks like​

An Asana personal access token connection has a single API key field that a user fills in. The Slack OAuth 2.0 connection includes an authorize URL, token URL, client ID, and client secret, but those inputs are generally hidden from end users - they see a single "Connect" button instead.

Connections are often presented to customer users on the first page of your integration's configuration wizard, but you can also set up the connection on your customers' behalf if you know the values the connection requires.

Acme and Slack connection in Prismatic config wizard

Choosing a connection type​

A connection's type depends on who enters its credentials and whether customers share them. Answer the questions below to find the right type.

  1. Does the connection reach an on-prem resource through the on-prem agent, or will your app set its values through the embedded SDK when a customer deploys an instance?

Compare all options
  • Does the connection reach an on-prem resource through the on-prem agent, or will your app set its values through the embedded SDK when a customer deploys an instance?
    • No: Most connections.
      • Who enters the credentials?
        • The customer: They enter an API key or authenticate with OAuth 2.0, even if you manage the OAuth 2.0 app. → Use this connection type: Customer connections. Each customer enters their own credentials once and reuses the connection across your integrations. Example: Your customer enters their own API key or connects with OAuth 2.0.
        • Each of the customer's users, separately: Every user connects their own account, and only they can see their connection. → Use this connection type: User connections. Each of a customer's users enters their own credentials through user-level configuration, which must be enabled for your organization. Example: Each of your customers' users connects their own Dropbox account.
        • Your team: Customers never see or enter the credentials.
          • Does each customer need its own credentials?
            • Yes, each customer has distinct credentials → Use this connection type: Organization (Customer) connections. Your team manages the connection on behalf of each customer, with distinct credentials for each one. Example: You assign each customer an API key for connecting to your app, so they don't have to.
            • No, every customer uses the same credentials → Use this connection type: Organization (Global) connections. Your team enters one set of credentials that every customer shares. Example: All of your customers send text messages through your organization's Twilio account.
    • Yes → Use this connection type: Integration-scoped connections. The connection is defined inside a single integration, which supports the on-prem agent and values set through the embedded SDK. Example: Your integration connects to a customer's on-prem PostgreSQL database.
Connection typeWho enters the credentials
Customer connectionsEach customer
User connectionsEach of a customer's users (requires user-level configuration)
Organization (Customer) connectionsYour team, separately for each customer
Organization (Global) connectionsYour team, once for all customers
Integration-scoped connectionsDefined in one integration; required for the on-prem agent or values set through the embedded SDK

Every type except integration-scoped is managed centrally, so you can update credentials in one place and reuse the connection across integrations. Choose one of those types even if you don't plan to reuse the connection yet.

Build-only connections​

Some components offer build-only connections: OAuth 2.0 apps that Prismatic creates and manages so you can start developing your integration without setting up your own OAuth 2.0 app.

Build-only connections are only intended for development and testing, and they can't be used in production or shared with customers. When you're ready to deploy your integration, you'll need to create your own OAuth 2.0 app and connection (or have your customers create their own connections) to replace the build-only connection. Many third-party services review OAuth 2.0 apps before approving them for production, so create your app and apply for production access while you build with a build-only connection.

Configure build-only connections from the Components tab in the left sidebar of the Prismatic UI.