> For the complete documentation index, see [llms.txt](https://devdocs.brightpay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devdocs.brightpay.com/authentication.md).

# Authentication

The BrightPay API supports OAuth 2.0 integration. The integration assumes

* That your customer (user) has a Bright ID set up. To get a Bright ID for testing please see <https://id.brightsg.com/sign-up>.
* The customer's Bright ID has access to BrightPay. To get a trial of BrightPay please see <https://brightsg.com/en-gb/brightpay/brightpay-cloud-free-trial>.&#x20;
* Within the BrightPay application the customer has Employers and Employees set up correctly. In order to configure BrightPay to allow testing please see[ Configuring BrightPay for Testing](/configuring-brightpay-for-testing.md).
* Your application has a Bright Client Id and Secret in order to retrieve an Access Token. To get a Bright Client Id and Secret please email <jake.curry@brightsg.com>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://devdocs.brightpay.com/authentication.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.
