--- title: Configure a Kafka connection description: Configure a connection to your Apache Kafka environment. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/integration-hub/configure-kafka-connection.html release: australia product: Integration Hub classification: integration-hub topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Message replication, Using Stream Connect for Apache Kafka, Import and stream data, Integration Hub, Workflow Data Fabric] --- # Configure a Kafka connection Configure a connection to your Apache Kafka environment. ## Before you begin - Role required: connection\_admin or message\_replication\_admin - [Create Kafka credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/create-kafka-ssl-credentials.md). ## About this task Configure connection and credential records for connecting to your local Apache Kafka environment. - The connection record contains the information required for making the connection to your local Kafka. Connection records are stored in the Kafka Connections \[kafka\_connection\] table. - The credential record stores the authentication data required for the connection. Credential records are stored in the Kafka credentials \[kafka\_credentials\] table. After you've created both the connection record and the credential record, you can [Create a Connection & Credential alias](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/connection-alias.md), which links your connection information and the credential data under a single name. ## Procedure 1. Navigate to **All** > **IntegrationHub** > **Connections & Credentials** > **Connections**. 2. Select **New**. 3. On the form asking what type of connection you would like to create, select **Kafka Connection**. 4. On the Kafka Connection form, fill in the fields.
| Name | Name for the connection. |
| Credential | Name of the credential used to authorize this connection. |
| Application | Application scope for the message replication. This field is automatically set. |
| Active | Option to activate the connection. |
| Connection alias | Name of the connection alias to associate with this connection. |
| Bootstrap servers | Comma-separated list in the format HOST:PORT,HOST:PORT. The list doesn't need to include all of the Apache Kafka cluster servers. |
| Consumer group id | Kafka consumer group.id. If not provided, the value is created with the format `{instance_name}-consumer-{kafka_connection.sys_id}` |
| Additional client properties | Any additional client properties that should be specified when connecting to Kafka. For a full list and description of the available properties, see the Kafka documentation at [https://kafka.apache.org/documentation/](https://kafka.apache.org/documentation/). |
| Use MID Server | Option to use a MID Server. This field is automatically selected. |
| Advanced MID Server Configuration | |
| MID Selection | Option to select a specific MID Server or MID Cluster. Options are:- **Specific MID Server** - **Specific MID Cluster** |
| MID Server or MID Cluster | Name of the MID Server or MID Cluster to use. |