# Connector

Connectors are used to connect EMQX Broker to cloud resources, which are services provided by cloud service providers or services operated by yourself. Connectors are only concerned with the connection to cloud resources, and users can create different connectors for different cloud resources.


## Create a Connector

::: tip Prerequisite

Before creating a connector, make sure the current deployment is running.

:::

::: tip Note

Dedicated deployments support a maximum of 10 connectors. Once the limit is reached, clicking **New** will return a quota exceeded error.

:::

1. In your deployment, click **Data Integration** from the left menu.
2. On the Data Integration page, select the resource you want to connect to (for example, **Kafka**). If you have already created connectors, click **New Connector** in the top right corner of the connector list instead.
3. Fill in the resource configuration and click **Test**. If the connection is successful, a success message appears. If it fails, check your configuration.
4. Click **New** to save the connector.

## View Connector List and Details

The information on the newly created connector will be displayed in the **Connector List**, including the connector's name, type, status, and the number of associated rules. One connector can correspond to multiple rules.

![Connector](./_assets/connector_01.png)

Click on the connector ID to view details. The basic information and configuration information display the default configuration and the content you filled in during configuration.

![Connector](./_assets/connector_02.png)

## Enable and Disable a Connector

::: tip Note

This feature is only available with the EMQX Dedicated and Dedicated Flex edition.

:::

In the **Connector List**, toggle the switch in the **Enable** column to enable or disable a connector. If the connector is associated with any actions or rules, a confirmation dialog will appear when disabling it.

## Edit a Connector

::: tip Note

This feature is only available with the EMQX Dedicated and Dedicated Flex edition.

:::

1. In the **Actions** column of the connector list, click the edit icon to enter the editing page. 
2. Modify the corresponding configuration and click the **Test** button. A success message will be displayed if the connection is successful, and you can click the **Save** button to update. If it fails, please check the connector configuration.

## Delete a Connector

1. Make sure to clear all rules under the connector before deleting it.
2. In the Connector List, click the delete icon in the **Actions** column to delete a connector.
3. You must enter the connector's ID to confirm the deletion.

