# Connect an Account

There are 2 ways to connect accounts. The first option is to use the Pyas Dashboard and the second option is to use the REST API.

### Connect an Account from the Pyas Dashboard

This option is great for quickly testing out Pyas.

1. Login to your Pyas account.
2. Click on the **Apps** tab from the left menu bar.
3. Click on the App that you'll be connecting the account to.

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

4. From the app view under **Accounts**, click the **+ Add Account** button.
5. A modal should open to connect the account. Fill in the **Name** and **Email** fields and select the **Provider** (Google, Microsoft or Zoom)
6. Click on the **Connect Account** button

<figure><img src="/files/2cQBTSVVPWSidjH2us1t" alt=""><figcaption></figcaption></figure>

7. A provider consent screen should open in a new window (Google in this example). Select all the check boxes to allow access to the calendar resources and then click on the **Continue** button.
8. You should now see an Account Connected message. This means the account is connected to Pyas and you can start making API calls for that account.

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

### Connect an Account using the REST API

This option is recommended and is the best way to start using Pyas to add calendar integrations into your app.&#x20;

See the [**REST API Reference**](/rest-api-reference/introduction.md) docs to get started.


---

# 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.pyas.io/fundamentals/getting-set-up/setup-authentication/connect-an-account.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.
