> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/pam/administration/connectivity/connectors.md).

# Connectors

An agent installed on the target machine itself, which dials out to a broker and makes a solitary host reachable when there is no gateway on its network.

A **connector** is an agent installed **on the machine you want to reach**. It enrols that host in a [broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md) and publishes only itself. It is the answer for the isolated machine — the one with no gateway on its network. The screen states the purpose directly: *"Remote machines that dial out to the broker through an installed agent: solitary hosts with no gateway, made reachable and managed right here"*.

## What this is and when to use it

Technically a connector is **a gateway that serves itself**. Instead of reaching other equipment on its network, it exposes the local service of its own machine — the RDP port on the loopback address, for example. The agent dials **out** to the broker from inside the machine, and the solution then reaches it back along that path.

No inbound port is opened on the machine, and none on its network.

Use a connector when the target is a one-off machine — a laptop, a cloud instance, a device on a home or third-party network — and installing a gateway to serve the whole network makes no sense.

### Connector or broker gateway

|                    | Serves                        | Installed on              |
| ------------------ | ----------------------------- | ------------------------- |
| **Broker gateway** | Several assets on the network | A machine on that network |
| **Connector**      | Only its own machine          | The asset itself          |

They are listed separately in the console for exactly that reason.

| Situation                                                                | Mechanism                                                                                                |
| ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
| The solution reaches a machine in the network, but not the assets        | [Proxy](https://wiki.datadike.com/pam/administration/connectivity/proxy.md)                              |
| The solution cannot reach the network, and no inbound port may be opened | [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md) with a gateway at the site |
| The target is a single isolated machine with no gateway on its network   | **Connector**                                                                                            |

## Before you start

* A [**broker**](https://wiki.datadike.com/pam/administration/connectivity/broker.md) already registered. The connector enrols itself in it, so there is nothing to enrol into until the broker exists.
* **Outbound** network access from the target machine to the broker. Nothing inbound.
* Administrative rights on the target machine, to run the installer there.

## Steps

1. **Register the broker** first, if you have not already — see [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md).
2. **Get the installer.** Use **Download connector** on the Connectors screen.
3. **Run it on the target machine.** Not on a server nearby, not on a jump host — on the machine you want to reach. This is the whole distinction between a connector and a broker gateway.
4. **The agent dials out** to the broker and the connector appears in the list with its status.
5. **Link it to a device.** Until the connector is bound to an asset in [Inventory](https://wiki.datadike.com/pam/administration/assets/inventory.md), it is enrolled but nobody can connect through it. The **Device** column shows *Not linked* while that is the case.
6. **Grant access** to the users or groups who need the asset. From there the session behaves like any other: mediated, recorded, audited.

## What you should see

![The Connectors screen, with no connector enrolled yet](https://1085357737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7xzJyi9JVzRwnV6JzUho%2Fuploads%2Fgit-blob-9821c0c5bf0f8b9fd0e5f8fc29b0d13028309cea%2Fconnectors.png?alt=media)

The three counters at the top read connectors, online, and linked to a device. With no broker registered the screen says so: connector tokens are generated by a broker.

Three counters at the top of the screen: the total number of **Connectors**, how many are **Online**, and how many are **Linked to a device**.

The list below them:

| Column           | Content                                                           |
| ---------------- | ----------------------------------------------------------------- |
| **Connector**    | The connector's name, usually the host name                       |
| **Status**       | The state of the connection to the broker — *Online* or *Offline* |
| **Broker**       | The broker the connector is enrolled in                           |
| **Device**       | The inventory device it is bound to, or *Not linked*              |
| **Local target** | The local service the agent publishes                             |
| **Actions**      | The actions available for that connector                          |

{% hint style="info" %}
A connector can exist without being linked to a device. It shows as *Not linked*: enrolled in the broker, but with no inventory asset attached yet. That is a normal intermediate state, not an error — but nobody can open a session through it until the link is made.
{% endhint %}

## How to verify it worked

The list proves enrolment, not reachability. Check both.

1. The connector shows **Online**. If it does not, the machine has no outbound path to the broker, or the broker itself is down.
2. The **Device** column names the asset instead of *Not linked*, and the **Linked to a device** counter went up by one.
3. **Local target** names the service you meant to publish — the RDP or SSH port of that machine, not something else.
4. **Open a real session** from the browser and confirm it connects and that recording starts. That is the only check that exercises the whole chain: agent, broker, and the solution's route back.
5. Confirm the machine and its network still have **no inbound port open**. If someone opened one "to make it work", the reverse path is not what is carrying the traffic and you have lost the property you installed the connector for.

## Common errors

| Symptom                                                  | Cause                                                                             | Fix                                                                                                                                                         |
| -------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The connector never comes *Online*                       | The machine has no outbound path to the broker                                    | Allow outbound access from the machine to the broker's ports; nothing inbound is needed                                                                     |
| The connector was *Online* and went *Offline*            | The machine is off, or the broker is unavailable                                  | Connectors re-dial on their own when the broker returns — see Availability in [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md) |
| The connector is *Online* but no one can connect         | It shows *Not linked* — no inventory asset is bound to it                         | Link it to a device                                                                                                                                         |
| Several machines were meant to be reachable, only one is | The installer was run on one machine, and a connector publishes only itself       | Install a connector per machine, or use a broker gateway to serve the whole network                                                                         |
| The connector is *Online* but the session fails          | **Local target** does not point at the service actually listening on that machine | Publish the local service that is really there, on the port it really uses                                                                                  |
| The asset refuses the connector path                     | It is already bound to a proxy                                                    | An asset uses a proxy or a broker path, never both                                                                                                          |

## Field reference

| Item                   | What it is                                                                 |
| ---------------------- | -------------------------------------------------------------------------- |
| **Download connector** | Produces the agent installer, to be run on the target machine              |
| **Connector**          | The connector's name, normally the host name                               |
| **Status**             | *Online* or *Offline* — the state of the outbound connection to the broker |
| **Broker**             | The broker this connector is enrolled in                                   |
| **Device**             | The bound inventory device, or *Not linked*                                |
| **Local target**       | The local service the agent publishes on its own machine                   |

Requirements, restated because each one is a way this fails:

* The agent runs **on the target machine itself**.
* The machine needs **outbound** access to the broker.
* A **broker** must already be registered for the connector to enrol in.

## Related pages

* [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md) — the hub the connector dials out to
* [Gateways](https://wiki.datadike.com/pam/administration/connectivity/gateways.md) — the jump host the solution dials into instead
* [Proxy](https://wiki.datadike.com/pam/administration/connectivity/proxy.md) — the alternative path, where the solution dials into the network
* [Asset inventory](https://wiki.datadike.com/pam/administration/assets/inventory.md) — the device a connector is linked to
* [Core concepts](https://wiki.datadike.com/pam/get-started/core-concepts.md) — how assets, accounts and sessions fit together
