When you create a connection, you choose either a prebuilt connector for a specific application or a universal connector (HTTP or GraphQL) that works with any API of that type. Prebuilt connectors need the fewest settings. Universal connectors give you control over almost every part of the request, authentication, and response. This article explains the difference, the form views available on prebuilt connectors, and how to decide which one to use. Authentication types vary by connector and connection type.
Prebuilt connectors
A prebuilt connector is built for one application, such as Shopify or Stripe. Its form shows only the settings that application needs, and integrator.io fills in the rest, so you can set up a secure connection with very few fields.
Some prebuilt connectors offer two form views:
- Simple — The minimum settings needed for a secure connection to the application.
- HTTP or GraphQL — Additional settings taken from the universal HTTP or GraphQL connector, such as more authentication and request options. These forms are still part of the prebuilt connector and aren't identical to the universal connectors. For example, an iClient created from the HTTP form view of a prebuilt connector has fewer settings than one created from the universal HTTP connector.
Not every prebuilt connector offers both form views. If an application offers both an HTTP and a GraphQL API, you may also need to choose the API type; check the application's API documentation to decide which one fits your needs.
Universal connectors
The universal HTTP and GraphQL connectors give you the most control over a connection, including scopes, authentication types, permissions, requests, and responses. Use a universal connector when no prebuilt connector exists for the application, or when you need an API or endpoint the prebuilt connector doesn't expose.
If you enter a Base URI in a universal HTTP connector that matches an application with a prebuilt connector, the prebuilt connector appears as a suggestion below Base URI. When you select it, Base URI becomes read-only and the form switches to a simplified view that shows only the application's authentication details. To go back to the full HTTP form, select Clear selection.
Compare connector types
| Connector and view | Mock output and response data | Latest API version used automatically | Searchable query parameters on exports and imports |
|---|---|---|---|
| Prebuilt connector, Simple view | Yes | Yes | Yes |
| Prebuilt connector, HTTP or GraphQL view | Yes | No | No |
| Universal HTTP or GraphQL connector | Yes | No | No |
To see which kind each connection uses, go to Resources , and then select Connections. The Application column shows the application name for a prebuilt connector, such as Shopify or NetSuite, and HTTP for a connection made with the universal HTTP connector.
Simple view on exports, lookups, and imports
Exports, lookups, and imports that use a prebuilt connector can also switch between the Simple view and the HTTP or GraphQL view. The Simple view adds these conveniences:
- Mock output and response data.
- Query parameters you can search, add, and delete. Required parameters are added for you and can't be removed, and an error appears if a required parameter has no value.
- Handlebars expressions for query parameter names and values.
- A list of allowed values when the API documents a limited set of choices.
- The latest version of each resource and endpoint by default. You can choose a different version only when the connection doesn't already set one.