# Create a connector

To create a connector, follow the steps below:

* To go to the Connector template, select the Connector menu item under the “APIs and integration” menu.
*

```
<figure><img src="https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8connmenu.png" alt=""><figcaption></figcaption></figure>
```

* On the “APIs and integration” page, click the \[+ Connector] button.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8addconn.png>" %}

* On the “New Connector” page, the Connector>Details tab is preselected.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8conndettab.png>" %}

* Enter the connector name.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8connametestsftp.png>" %}

* Optionally add a description of the connector.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8condesctestsftp.png>" %}

* Select the type of connector and add the needed credentials as described below. When users add credentials, the password is maintained in the session until the user closes the connector page. In later views to the connector details, the password is not transferred, and the page will work with an encrypted text for the password. The users may change the password, provided that they have the rights.\
  As per the image below, there is also a quick-create option to create and edit a Connector within the ETL pipeline (under Data Source or Data Destination). ([See more details in the ETL pipeline section](/welcome/get-started/learn-langstack/introduction-to-etl-pipeline.md).)

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8condesctestsftp.png>" %}

* To save the settings, click the \[Save] button. The \[Test connection] button gets activated.\
  If the user clicks the \[Save & Close] button, the connector page will save and close.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8ftpcondetails.png>" %}

* To test the connection, click the \[Test connection] button.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_8/ch8testftpcon.png>" %}

* When the connection test is successful, it displays a success message.


---

# 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.langstack.com/welcome/get-started/learn-langstack/connectors/create-a-connector.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.
