# Connector Setup

In order to use the connector you will need to add it as a custom connector within your Azure installation. Start by downloading the connector definitions file below and save it on your machine. &#x20;

{% file src="/files/-Mi7sbU8ouA3DdtYUD5h" %}

You may now head to your Azure portal and create a new Custom Connector resource.

![](/files/-MhxO3hVyJCqrc8nQg2x)

{% hint style="warning" %}
Make sure that your custom connector is created within the same hosting region and resource group as your power app / logic app.
{% endhint %}

Once created edit the Custom Connector resource, set it to OpenAPI file and import the NGSurvey connector file that you have just downloaded.

![](/files/-MhxPHiAPAwq4QdvOr5J)

In the general information change the Host to the domain under which you are currently running ngSurvey.

![](/files/-MhxPvTWRmt6ggavs0bf)

You may now save the definitions of your connector.

![](/files/-MhxQHbdkgPWxjcHoU3H)

That's it! You have now a fully functional connector that you can use in your PowerApps / Logic Apps&#x20;

{% hint style="info" %}
We are in process of certifying the connector, once it it is certified you will be able to select it and use right from the PowerApps or Azure third party connectors selection interface.&#x20;
{% endhint %}

## 👨‍💻️ Connector setup using the CLI

Should you prefer to deploy the connector using the command line you may deploy it using the paconn CLI provided by Microsoft following these instructions : \
<https://docs.microsoft.com/en-us/connectors/custom-connectors/paconn-cli>


---

# 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.ngsurvey.com/personal-account/developer/powerapps-flow-integration/connector-setup.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.
