- API
- Confluence
- Databricks
- GitHub
- Jira
- MySQL
- PostgreSQL
- SAP Business One
- SAP Gateway
- Snowflake
- Splunk
- SQL Server
Install and run the on-premises gateway in each location where your on-premises data is located. You can either deploy the Connect Gateway with Docker or deploy the Connect Gateway on Kubernetes.
Finish the Connect Gateway setup in Connect AI to test the gateway and complete the connection.
Register the Connect Gateway in Connect AI
To register the Connect Gateway in Connect AI:Enter a descriptive location name to identify where the gateway is installed, and click Confirm.Your location appears in the Gateways list, along with a key and a Pending status. Click the eye icon to view the key.
You need to copy the following values for the on-premises gateway (click the copy icons):

- Account Id–this is the ACCOUNT_ID environment variable for the on-premises gateway.
- Location Id–this is the GATEWAY_LOCATION_ID environment variable for the on-premises gateway.
- Key–this is the GATEWAY_API_KEY environment variable for the on-premises gateway.
Deploy the Connect Gateway with Docker
The on-premises gateway is a lightweight service that runs inside your network and acts as a secure reverse tunnel between Connect AI and your local data sources. The gateway registers itself with Connect AI on startup. It then listens for incoming connections, via Azure Relay technology, without ever exposing them to the public internet. The gateway is protocol-agnostic: it forwards raw bytes without any knowledge of the database protocol (such as MySQL, PostgreSQL, or SQL Server), making it compatible with any TCP-based data source.Prerequisites
To run the Connect Gateway as a Docker container, you must have the following:- Docker installed on the host machine.
- Network access to
cloud.cdata.com. - The gateway created in Connect AI.
Environment Variables
The following environment variables are required to run the gateway:| Variable | Description |
|---|---|
| GATEWAY_LOCATION_ID | The unique identifier for this gateway instance. Copy the value under the user-defined Location Name in the Gateways list in Connect AI. |
| GATEWAY_API_KEY | The secret API key used to authenticate this gateway with Connect AI. Copy the value under Key in the Gateways list in Connect AI. |
| ACCOUNT_ID | Your CData Connect AI account identifier. This is specific to your organization. Copy Account Id in the Gateways list in Connect AI. |
Run the Gateway in Docker
Run the gateway as follows:docker run will pull the Docker image from the registry if it is not already present on the host.View Docker Logs
Stop the Gateway
Docker Compose
Copy the following and save asdocker-compose.yml:
Start the Gateway
docker compose up will pull the Docker image from the registry if it is not already present on the host.View Logs
Stop the Gateway
Deploy the Connect Gateway on Kubernetes
The Connect Gateway Kubernetes Helm chart is available in a GitHub repository. Kubernetes deployment requires the following:- Kubernetes 1.25 or later
- Helm 3.10 or later
- Metrics Server installed on your cluster (required for memory-based autoscaling)
- Network egress from the cluster to
cloud.cdata.com - Your Account Id, Location Id, and Key from Connect AI. See Register the Connect Gateway in Connect AI for the location of these values.
Quick Start
Add the Helm repository:For production, create a Kubernetes Secret containing your gateway credentials and pass
--set existingSecret=<secret-name> instead of --set gateway.apiKey=…. Passing the API key with --set writes it to shell history and to the Helm release’s stored values. See the Helm chart Readme file for secret-management patterns.Verify the Gateway is Running
Check that the gateway pods are ready and view their logs:Upgrade the Gateway
Uninstall the Gateway
Finish Connect Gateway Setup
Return to Connect AI and finish the Connect Gateway setup.After you complete the steps to deploy the Connect Gateway with Docker or deploy the Connect Gateway on Kubernetes, you can test the gateways you added to Gateways. Click the Connect Gateway tab of the Add/Edit Connection page. Click Test Gateways. The Status turns to Success if all gateway setup is complete.
You still need to click Save & Test to test the entire connection.
Return to the Basic Settings tab of your connection. Under Connection Type, select Connect Gateway.
Enter the Authentication instructions for the connector according to the connector’s Documentation pane.

