1. Docs
  2. arrow-right
  3. Connections Overview

Connections Overview

The Connections tab is accessible from the Settings section of ItemPath.

Detail of the Settings tab in itemPath, with an arrow pointing to the Connections option in the sidebar.

Use the Connections tab to create, modify, and test connections between ItemPath and other services (outside of Power Pick). You can access logs for each connection from the card for each connection. After you create a connection, you can use that connection in Data Push and Data Pull.

ItemPath supports the following types of connection:

  • Application programming interfaces (APIs)
  • Programmable logic controllers (PLCs)
  • Databases

API connections allow ItemPath to communicate directly with other systems through a series of requests. You might use this to establish connections with your ERP or analytics tools directly. ItemPath supports connections to both REST APIs and GraphQL APIs.

PLC connections let ItemPath communicate with devices within your warehouse or storage system, enabling ItemPath to control and monitor physical processes.

Database connections allow ItemPath to connect to a relational database, such as MSSQL or IBM DB2. This allows data from ItemPath to be analyzed by analysts or other teams, or allows ItemPath to retrieve information from your business databases.

Create a new connection

To create a new connection:

  1. Scroll to the bottom of the list of existing connections. Select + to create a new connection.
  2. Enter a Name for this connection.
  3. Select the Type of connection from the menu.
  4. Select the Authentication used for this connection. The kind of authentication used and details required are determined by the system you will be connecting with.
  5. Enter an Address for the connection.
  6. Save your connection.
Create new connection card in ItemPath, with fields corresponding to the preceding instructions.

After you have created a connection, you will be able to specify additional details for the connection.  Details can include the test endpoint for an API, token durations, and request headers.

The expanded connection card, with additional settings for specifying a Test Endpoint and request headers.

Headers supply supplemental information as part of a request and can be added with Create Header. If there are headers that are specific to particular requests, you can specify these elsewhere (in Data Push or Data Pull).  If information in a header is confidential and should not be logged by ItemPath, check Private when creating the header.

Settings specified in the Connections app are global and applied to any requests made using the connection. 

Authentication

ItemPath supports the following authentication types for connections:

  • Basic: Username and password authentication for the connection. Both API and database connections support basic authentication.
  • No Auth: No authentication method is required for requests to this connection
  • OAuth 1.0: An authorization protocol used to grant access to applications without sharing usernames or passwords. It relies on generating tokens for requests using keys and secrets.
  • OAuth 2.0:  A simplification of the OAuth 1.0 protocol that uses refresh tokens to generate new access tokens. Requires specifying a username, password, login, and refresh path. 
  • Token Based Authentication: Allows administrators to specify details for token based access to APIs, including duration before requiring a refresh.

When providing credentials, sensitive fields will be masked to protect your security.

Test a connection

After you configure a connection, including test endpoints, you can test it to ensure it is configured correctly.

To test the connection:

  1. If required, set a slug for the test endpoint (this is usually 'ping').
  2. If the connection is to a GraphQL API, a test query is optional.
  3. Select Test at the top of the connection card. If successful, you will receive a confirmation message.
  4. The result of the test request will be added to the logs for this connection. These include any error messages returned with the request.

Review connection logs

Searchable logs of requests and responses are available for each connection. Select the logs tab in the sidebar of the connection card to access the logs. Logs will have the following columns:

  • Creation Date: The date and time the request was made. 
  • Sent Data Info: The body of the request. 
  • Response Info: The response received by ItemPath from the endpoint requested. These can include error messages.
The log table, with search inputs and a sample error message with a 404 error from pinging a domain.

Connection logs are displayed in pages. You can adjust the number of items per page using the dropdown menu at the bottom of the card.

Remove a connection

To remove a connection, select Delete. When prompted, confirm the deletion to remove the connection.