# Enabling an authentication method for an endpoint

## Introduction

When you configure a [process flow connection shape ](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/connector-shape)to use a given **instance**, you can then choose from a list of available [endpoints](https://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/4-endpoints). For example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FwsQ6ybj5MyJCZMrtfk67%2Fns%20oauth%202%20auth%20code%207.png?alt=media&#x26;token=c392fcad-5e76-4c43-a00c-22fe98fccbaf" alt=""><figcaption></figcaption></figure></div>

This list will only include endpoints for which the same [authentication method](https://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/authentication-method-options) is enabled, as was used to [add/authenticate the selected instance](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance).&#x20;

So, having added a new **authentication method**, you must enable it for any connector endpoints that you might want to use with **instances** that are added using this **authentication method**.

## The Steps

<details>

<summary><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FpLMO12yvTCxi9PorCt53%2Ficons8-film.svg?alt=media&#x26;token=e59864bc-2d97-4f98-966c-a083c18e60db" alt="" data-size="line"> Show me</summary>

![](https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F6SRwNcbEiknfYKOvpZzS%2Fdemo%20enable%20auth%20method%20for%20endpoint.gif?alt=media\&token=9fd1b78b-f7e4-4bf3-822b-74361f47be3f)

</details>

**Step 1**\
Log in to the [Patchworks dashboard](https://app.wearepatchworks.com/login) and navigate to **process flows** <mark style="color:red;">></mark> **connectors & instances**, where all of your installed connectors are shown. From here, access **settings** for the connector that you need to update with a new authentication method - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FDXInrOpRZ0jOpWWvzxzC%2Fenable%20auth%20method%201.png?alt=media&#x26;token=0f293b6c-8692-45c8-812a-b76d9969ea64" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
If you're building a new connector, you can pick up these steps when you reach the **endpoints** section of the connector builder.
{% endhint %}

**Step 2**\
Access **endpoints** for the connector:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FNr9EDrEadl6gpeiLJHuQ%2Fenable%20auth%20method%202.png?alt=media&#x26;token=b6967140-ea05-487e-bacb-5b7f985c59cb" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 3**\
Select the endpoint that you want to update - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FpRf6yO1UN4rT7ipMMkAe%2Fenable%20auth%20method%203.png?alt=media&#x26;token=3fc9c7e0-bd3d-4491-99aa-857e39aac432" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 4**\
Any [authentication methods that have been added for this connector](https://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/authentication-method-options) will be displayed on the [endpoint authentication tab](https://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/4-endpoints/endpoint-options/authentication), with a toggle option to enable/disable use - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FUE2XPvki822XkZ7GWRLv%2Fenable%20auth%20method%204.png?alt=media&#x26;token=d6633a1f-6305-4b8e-a885-a3455728a93c" alt=""><figcaption></figcaption></figure></div>

**Step 5**\
Toggle this option on/off as required - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FwjG39wsjcMYjNzGlbxTT%2Fenable%20auth%20method%205.png?alt=media&#x26;token=1492c387-fb70-47eb-a276-582eb7e896d2" alt=""><figcaption></figcaption></figure></div>
