---
schema_version: "1"
id: 9237cc4ce925721d7660c99cfef220d981419e90735616c79dec48bb7e8171de
title: Importing a Connector from Exchange
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-code-builder/int-configure-components-import-connector-exchange.md
canonical_url: https://docs.mulesoft.com/anypoint-code-builder/int-configure-components-import-connector-exchange
source_site: docs.mulesoft.com
content_type: documentation
content_hash: aae6d7cc9742ed41882dff9c62d844836734beb7ec822617b1202e5ea7c1d3ff
description: MuleSoft Documentation Site
latest: true
---
---
product: Anypoint Code Builder
version: master
---

# Importing a Connector from Exchange

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Connectors provide operations for retrieving, modifying, and sending data to and from
systems. In addition to the [built-in connectors](https://docs.mulesoft.com/anypoint-code-builder/acb-reference#builtin-connectors) that Anypoint
Code Builder provides, you can download many other connectors from Anypoint Exchange. Exchange
lookups in Anypoint Code Builder use platform search components, which provide a more consistent
asset discovery and selection experience across supported Exchange flows.

- [Import a Connector from the Canvas](#import-canvas)

- [Import a Connector with a Command](#import-command)

## Import a Connector from the Canvas

To import a connector from Exchange and add it to your configuration:

1.  {open-config-xml}, such as `my-project-name.xml`.

2.  Click ![](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-tree-view.png) (**Show Mule graphical mode**) in the activity bar to open
    the UI canvas if it doesn’t open automatically.

3.  Add the connector the same way you added other components from the canvas:

    1.  In the canvas, click the ![](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-plus.png) (**Add component**) icon.

    2.  In the **Add Component** panel, click **Connectors**.

    3.  Click the connector name and then click the operation to add, such as **Publish**:

        ![Add Publish operation from the Anypoint MQ Connector](/mulesoft/current/en-us/anypoint-code-builder/_images/int-add-connector-operation.png)

    4.  If the connector is not available locally, click the ![](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-search-exchange.png)
        (**Search in Exchange**) toggle:

        ![Search in Exchange toggle](/mulesoft/current/en-us/anypoint-code-builder/_images/int-connector-search-exchange.png)

        <table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td>Search locally</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td>Search in Exchange</td></tr></tbody></table>

    5.  Select the connector to add to your project. You can select from connector versions that are
        compatible with your Mule runtime and Java version set in Project Properties.

    6.  Select the operation from the **Add Component** panel.

## Import a Connector with a Command

To import a connector from Exchange to use later in your project:

1.  {open-config-xml}, such as `my-project-name.xml`.

2.  Click ![](/mulesoft/current/en-us/anypoint-code-builder/_images/icon-tree-view.png) (**Show Mule graphical mode**) in the activity bar to open
    the canvas if it doesn’t open automatically.

3.  Open the Command Palette.

    Show me how

    - Use the keyboard shortcuts:

      - Mac: Cmd+Shift+p

      - Windows: Ctrl+Shift+p

    - Select **View** > **Command Palette**.

4.  Select the following command:

    ```command
    MuleSoft: Import Asset from Exchange
    ```

5.  Select **Connector**.

6.  Search for the connector name to import, such as "MQ," for example:

    !["Import Anypoint MQ Connector from Exchange](/mulesoft/current/en-us/anypoint-code-builder/_images/int-import-connect-exchange.png)

7.  Select the connector.

8.  At the prompt, select the version of the connector to import, such as `v4.0.3`.

    Anypoint Code Builder imports the connector and makes it available in the Components list.

To change or upgrade connector versions later, see
[Select Connector Versions for a Project](https://docs.mulesoft.com/anypoint-code-builder/int-versions#project-versions-connectors).

For more information about the connectors available on Exchange, see [Connectors](https://docs.mulesoft.com/connectors/).
For more information about Exchange, see [Exchange (US)](https://anypoint.mulesoft.com/exchange/) or
[Exchange (EU)](https://eu1.anypoint.mulesoft.com/exchange/) and
[Anypoint Exchange Overview](https://docs.mulesoft.com/exchange/).
