# 1.5 Setting up Remote search

## Setup

To add remote search to an Embed Flow, at least two steps are needed:

1. [Form Helper](/connectors/helpers/form-helper.md) step, where the form that the end user sees can be configured (needs to be placed before the Connector step)
2. Regular Connector step, which supports Remote Search

### Form Helper

The setup is almost the same as [explained in detail here](/connectors/helpers/form-helper.md), but an additional parameter `remoteSearch` is required.

The value for this parameter needs to be a reference to the Remote Search enabled field in the Flow, so if the Flow looks like this:

<figure><img src="/files/LlRezDLM7qA9HUstxbSY" alt=""><figcaption></figcaption></figure>

It would e.g. be `"remoteSearch": "get_account.account_id"`.

{% hint style="info" %}
The field reference can be seen when toggling Advanced view on and looking at the tooltip for the corresponding field.
{% endhint %}

### Regular Connector

The Connector setup is as usual for an Embed Flow, however, in most cases the Remote Search enabled field will be filled with a reference to the Form Helper step.

E.g. in the example above: `{{ user_input.freshsales_company }}`.


---

# 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.locoia.com/embed-white-label-portal/embed-admin-setup/flow-building/1.5-setting-up-remote-search.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.
