Skip to main content

Check out Port for yourself ➜ 

Hosted by Port

Using this installation option means that the integration will be hosted by Port, with a customizable resync interval to ingest data into Port. Port manages the infrastructure, updates, and maintenance, allowing you to focus on configuring your API connection.

High-scale performance considerations

For high-scale environments with large datasets, consider the following:

  • Self-hosted installation is recommended for better control over resources and performance tuning.
  • Rate limiting may be required to prevent overwhelming your API.

Installation

To install, follow these steps:

  1. Go to the data sources page of your portal.

  2. Click on the + Data source button in the top-right corner.

  3. Click on the Custom integration in the list.

  4. Under Select your installation method, choose Hosted by Port.

  5. Configure the integration settings and application settings as you wish (see below for details).

Application settings

Every integration hosted by Port has the following customizable application settings, which are configurable after installation:

  • Resync interval: The frequency at which Port will ingest data from the integration. There are various options available, ranging from every 1 hour to once a day. If a sync is still in progress when the next one is due, the new sync will be skipped (up to 24 hours delay). This ensures that all kinds are fully synchronized and that cleanup of stale entities always takes place at the end of each sync.

  • Send raw data examples: A boolean toggle (enabled by default). If enabled, raw data examples will be sent from the integration to Port. These examples are used when testing your mapping configuration, they allow you to run your jq expressions against real data and see the results.

Integration settings

The following integration settings are available for the custom integration. Each setting has an ⓘ icon next to it in the UI, which you can hover over to see a description.

Connection settings

SettingDescriptionRequiredDefault
Base UrlThe base URL of your HTTP API, for example: https://api.example.com-
Auth TypeAuthentication method: none, bearer_token, basic, or api_keynone

Authentication settings

These settings are required based on your selected Auth Type:

SettingDescriptionRequired WhenDefault
Api TokenBearer token for authenticationAuth Type is bearer_token-
UsernameUsername for basic authenticationAuth Type is basic-
PasswordPassword for basic authenticationAuth Type is basic-
Api KeyAPI key for authenticationAuth Type is api_key-
Api Key HeaderHeader name for API key authenticationAuth Type is api_keyX-API-Key
Port secrets

Settings marked with sensitive data (such as tokens, passwords, and API keys) use Port secrets to ensure your sensitive data is encrypted and secure. When filling in such a setting, its value will be obscured (shown as ••••••••). Port will automatically create a secret in your organization for each sensitive setting.

Pagination settings

SettingDescriptionRequiredDefault
Pagination TypePagination method: none, offset, page, or cursornone
Page SizeNumber of items per page for pagination100
Pagination ParamQuery parameter name for the main pagination value. For cursor: cursor, page[after], after. For page: page, pageNumber. For offset: offset, skip. Defaults vary by paginationType.-
Size ParamQuery parameter name for page size/limit. Examples: limit, size, page[size], per_page. Defaults vary by paginationType.-
Start PageStarting page number for page-based pagination (e.g., 0 or 1). Defaults to 1.1
Cursor PathDot-notation path to extract cursor from response for cursor pagination (e.g., meta.after_cursor, links.next). Defaults to common patterns if not specified.-
Has More PathDot-notation path to check if more pages exist (e.g., meta.has_more, pagination.hasMore). Works with all pagination types. Defaults to common patterns if not specified.-

Performance settings

SettingDescriptionRequiredDefault
TimeoutRequest timeout in seconds30
Verify SslWhether to verify SSL certificatestrue
Max Concurrent RequestsMaximum concurrent API requests (uses Ocean's built-in rate limiting and caching)10

Port source IP addresses

When using this installation method, Port will make outbound calls to your API from static IP addresses. You may need to add these addresses to your allowlist, in order to allow Port to interact with your API:

54.73.167.226  
63.33.143.237
54.76.185.219

More resources

For all configuration options, code examples, and advanced use cases, check out the Ocean custom integration repository on GitHub.