> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Moneybird

> Connect to the Moneybird API with OAuth 2.0

## Quickstart

Connect to Moneybird with Nango and see data flow in 2 minutes.

**1. Create the integration**

In Nango, go to **Integrations**, select **Configure New Integration**, then select **Moneybird**. Enter the Client ID and Client Secret from your Moneybird OAuth application.

If you do not specify scopes, Moneybird grants `sales_invoices` by default.

**2. Authorize Moneybird**

Go to **Connections**, select **Add Test Connection**, then authorize access in Moneybird. Moneybird redirects back to Nango and Nango stores the access and refresh tokens for the connection.

**3. Call the Moneybird API**

Let's make your first request to the Moneybird API by listing the administrations available to the connected user. Replace the placeholders with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), integration ID, and connection ID:

**cURL**

```bash theme={null}
curl "https://api.nango.dev/proxy/v2/administrations.json" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
```

**Node**

Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

```typescript theme={null}
import { Nango } from '@nangohq/node';

const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });

const response = await nango.get({
    endpoint: '/v2/administrations.json',
    providerConfigKey: '<INTEGRATION-ID>',
    connectionId: '<CONNECTION-ID>'
});

console.log(response.data);
```

Nango adds the Moneybird Bearer token to the upstream request, so your application does not need to handle the Moneybird access token. Check the **Logs** tab in Nango to inspect the request.

**4. Implement Nango in your app**

Follow the [Auth implementation guide](https://nango.dev/docs/guides/auth/auth-guide.md) to add the authorization flow to your application.

To obtain your own production credentials, follow the setup guide linked below.

## OAuth scopes

Moneybird supports `sales_invoices`, `documents`, `estimates`, `bank`, `time_entries`, and `settings`. If no scope is supplied, Moneybird grants `sales_invoices` by default.

Accessing contacts requires at least one of `sales_invoices`, `documents`, `estimates`, `bank`, or `settings`. The `time_entries` scope alone does not grant contact access.

## Moneybird integration guides

Nango-maintained guides for common use cases.

* [How to register your own Moneybird OAuth app](https://nango.dev/docs/api-integrations/moneybird/how-to-register-your-own-moneybird-oauth-app): Register an external OAuth application, configure its redirect URI, and add its credentials to Nango.

Official docs: [Moneybird authentication](https://developer.moneybird.com/authentication) and [Moneybird API reference](https://developer.moneybird.com/).

## Pre-built syncs & actions for Moneybird

*No pre-built syncs or actions available yet.*

> [!TIP]
>
> Not seeing the integration you need? [Build your own](https://nango.dev/docs/guides/functions/functions-guide.md) independently.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.