> For the complete documentation index, see [llms.txt](https://docs.farmstack.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.farmstack.co/deploying-farmstack/setting-up-self-managed-connectors.md).

# Setting up Self-Managed Connectors

## Overview

This tutorial will guide you through the process of running an example self managed connector end-to-end setup. Kindly complete the prerequisites before following this guide.

{% content-ref url="/pages/-MfdqmhMoJP6ITTt0LFt" %}
[Installing Prerequisites](/deploying-farmstack/installing-prerequisites.md)
{% endcontent-ref %}

## Setting up FarmStack connector

In the terminal window type the following command to run FarmStack setup:

```
python3 setup.py
```

After the setup is complete, in the browser window, open the installer frontend by typing <http://localhost:8000>.

## Running example connectors

Navigate to New Connector tab

Give the provider a unique name, for example, `Test Provider 1` and click `Next`

![](/files/-MdE0U8Powj5I51pA8S6)

Give the consumer a unique name, for example, `Test Consumer 1` and click `Next`

![](/files/-MdE0cYXfh2YiCqoD3b-)

Verify the details and start the connection by clicking `Set up Connection` button.

![](/files/-MdE0hXnO_DARA4zOIWA)

Depending on your system resources and internet speed this step could take anywhere from a few seconds to a few minutes. You can check the progress in the terminal window.

When the connector setup is complete, open the status tab and click `View transferred data` link to see your data.

![](/files/-MfeDJJ0ovWp8YNG2GOj)

Kindly wait a couple of minutes for the contract negotiation process of provider and consumer to complete before they can start sharing the data.&#x20;

After the negotiation, the provider will start streaming data to the consumer. Kindly refresh to see the data shared into the consumer application.

![](/files/-MfeDWo5Mi2goltFVkM6)

This completes the tutorial for Setting up a Managed connector with usage control example. If you face any issue while running the self managed connector, kindly open a new issue in the Github repository and our experts will guide you.
