# 3: Authentication methods

## Introduction

We need to tell Patchworks what authentication methods can be used when someone chooses to [add an instance of your connector](/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance.md), for use in [process flows](/product-documentation/process-flows/about-process-flows.md).

<div align="left"><figure><img src="/files/FKpajrscgL0TEFvp4KFf" alt=""><figcaption></figcaption></figure></div>

Any authentication methods added here will be available to users when they choose to add an instance of this connector - for example:

<div align="left"><figure><img src="/files/2RAqovXYjWtD9vldSIsn" alt="" width="375"><figcaption></figcaption></figure></div>

## Supported authentication types

Patchworks supports the following authentication types:

* [Basic authentication](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types/basic-authentication.md)
* [Token-based authentication](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types/token-based-authentication.md)
* [OAuth 2 (client credentials)](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types/oauth-2/oauth-2-client-credentials.md)
* [OAuth 2 (authorisation code)](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types/oauth-2/oauth-2-authorisation-code.md)
* [OAuth 1](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types/oauth-1.md)

## Working with authentication methods

Please see [Adding a new authentication method](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/adding-a-new-authentication-method.md) for general steps required to add a new authentication method for a connector.&#x20;

You'll find detailed information about options and settings in the [Authentication method options](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/authentication-method-options.md) section, and step-by-step examples for each type in the [Supported authentication types](/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods/supported-authentication-types.md) section.


---

# 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://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/3-authentication-methods.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.
