> ## 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.

<Steps>
  <Step id="create-integration" title="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.
  </Step>

  <Step id="authorize-moneybird" title="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.
  </Step>

  <Step id="call-moneybird-api" title="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](/docs/reference/backend/http-api/api-keys), integration ID, and connection ID:

    <Tabs>
      <Tab title="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>"
        ```
      </Tab>

      <Tab title="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);
        ```
      </Tab>
    </Tabs>

    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.
  </Step>

  <Step id="implement-nango" title="Implement Nango in your app">
    Follow the [Auth implementation guide](/docs/guides/auth/auth-guide) to add the authorization flow to your application.

    To obtain your own production credentials, follow the setup guide linked below.
  </Step>
</Steps>

## 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](/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](/docs/guides/functions/functions-guide) independently.</Tip>
