# Xero

Xero offers an online cloud-based SaaS accounting software platform for small and medium-sized businesses.

## Account integration using OAuth

To begin, you will need:

* A [Xero](https://www.xero.com/) account.

**STEP 1**: In iMBrace, select **Credential** and click the **\[ADD NEW]** button.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FHtWQrXuINSLG2vL2QCiW%2F0.png?alt=media)

**STEP 2:** Select **Xero OAuth2 API** in the **Integrations** section.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FyJfAOXyw6PYgTmgbawki%2F1.png?alt=media)

**STEP 3**: Click on the **\[Copy URL]** button to copy the **OAuth Redirect URL**.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FaOV0tZlOx4aBacRduzev%2F2.png?alt=media)

**STEP 4:** Go to the [apps page](https://developer.xero.com/myapps) in the Xero developer portal.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F0S8sxrgjypxrXPOKE3IE%2F3.png?alt=media)

**STEP 5:** Click on **\[New app]** butto&#x6E;**,** fill in any necessary information and paste the **Redirect URL** that you copy from iMBrace.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FYTRIdOJ3XwFBfzGtz8VP%2F4.png?alt=media)

**STEP 6:** Click the **\[Create app]** button.

**STEP 7:** Go to the **Configuration** section.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F8PwCoGWKd8geMzu94cZ2%2F6.png?alt=media)

**STEP 8**: Click the **\[Generate a secret]** butto&#x6E;**.**

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FThPKCFCYdjAacWf54GE4%2F7.png?alt=media)

**STEP 9**: Copy both the **Client id** and **Client secret 1**.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FA9T3iQyXlJNKRyFIsUV9%2F8.png?alt=media)

**STEP 10:** In iMBrace, paste the **Client ID**, **Client Secret** that you copy from Xero and click **\[Connect]** button.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FfbS5kFIHB7FG4J5I5YF7%2F9.png?alt=media)

**DONE:** The credential can then be used for Xero nodes.
