# Connector Pro

It is possible to bring connections that use BullMQ Pro to the dashboard by using the Pro version of the connector. Currently, the connector does not have a CLI version but you can easily use it programmatically.

First, you need to install the `@taskforcesh/connector-pro` dependency.

{% tabs %}
{% tab title="Npm" %}

```
$ npm install -S @taskforcesh/connector-pro
```

{% endtab %}

{% tab title="Yarn" %}

```
$ yarn add -S @taskforcesh/connector-pro
```

{% endtab %}

{% tab title="Pnpm" %}

```
$ pnpm install -S @taskforcesh/connector-pro
```

{% endtab %}
{% endtabs %}

You can now import the package and instantiate a connector. Notice that you can have as many connectors running in parallel as you want. That will just add redundancy, however once is often enough.

```typescript
import { ConnectPro } from "@taskforcesh/connector-pro";

ConnectPro(
  "My Connection",
  "My token",
  // IORedis options
  {
    host: "localhost",
    port: 6379,
  },
  // Options
  {
    // Specify a team where to put this connection if needed.
    team: "my team",
    // Specify a custom backend if using on-premises
    backend: "ws://localhost:9876", 
  }
);

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.taskforce.sh/bullmq-pro/connector-pro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
