> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/xytech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/xytech/webhooks/outbound-connection.md).

# Outbound Connection

Outbound Connection defines and sets up the external system’s URL and authentication that are common to one or more endpoints defined by the External Adaptor.

*Figure 2 - Layout of an Outbound Connection*

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

The standard layout (from v11.3 Update 16), now displays credential fields appropriate to the authentication method selected.

<table><thead><tr><th width="205">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Enter a label for the connection, such as the name and version of the external system or interface.</td></tr><tr><td><strong>External Key</strong></td><td>Optionally enter a label to identify the external system, as with any Xytech document.</td></tr><tr><td><strong>Authentication Method</strong></td><td>Select the method used to log in to the external system:<br>- <strong>Basic</strong> - Enter the Username and Password, below.<br>- <strong>API Key</strong> – Enter the Key and Value pair into the Username and Password fields.<br>- <strong>OAuth2</strong> - Enter Authorization URL, Client ID, Secret and Scope.</td></tr><tr><td><strong>Base URL 1</strong></td><td><strong>Base URL 1</strong> is required. (exclude any trailing '/')</td></tr><tr><td><strong>Base URL 2</strong></td><td><strong>Base URL 2</strong> is optional. (exclude any trailing '/')</td></tr></tbody></table>

**Base URL Fail-over**

Where you have specified a secondary URL, the fail-over logic will become enabled.

If Base URL 1 does not respond after the retry count, set in the Export Adaptor, the system will then fail-over to Base URL 2.

Assuming Base URL 2 is successful, all following triggers will continue to first be sent to Base URL 2.

If Base URL 2 fails to respond, then the system will fail-over back to Base URL 1.&#x20;

If both Base URLs are unavailable, the system will give up after the fail-over Base URL fails to respond. (it will not continue to flip-flop between Base URLs)
