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

# Simpplr

> Integrate your application with the Simpplr B2B API

## Quickstart

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

<Steps>
  <Step title="Create the integration" id="create-integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Simpplr*.
  </Step>

  <Step title="Authorize Simpplr" id="authorize-simpplr">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then pick your tenant's region and enter the Client ID and Client Secret of a Simpplr client application. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Simpplr API" id="call-simpplr-api">
    Let's make your first request to the Simpplr B2B API (the connection test endpoint). Replace the placeholders below with your [Environment API key](/docs/reference/backend/http-api/api-keys), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/v1/b2b/identity/test" \
          -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 res = await nango.get({
            endpoint: '/v1/b2b/identity/test',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/docs/reference/sdks/node#get-a-connection-with-credentials) or [API](/docs/reference/api/connection/get).

    Every B2B endpoint lives under `/v1/b2b/`, for example `/v1/b2b/identity/users` to list users and `/v1/b2b/content/sites/contents` to list content.

    You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app" id="implement-nango">
    Follow our [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.

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

## Simpplr integration guides

Nango-maintained guides for common use cases.

* [How do I link my Simpplr account?](/docs/api-integrations/simpplr/connect)
  Connect your Simpplr account using the Connect UI

Official docs:

* [Simpplr B2B API reference](https://platform.simpplr.com/reference)
* [Creating the client application](https://platform.simpplr.com/reference/creating-the-client-application)
* [Generating an access token for the B2B API](https://platform.simpplr.com/reference/generating-access-token-for-b2b-api)

## Pre-built syncs & actions for Simpplr

Enable them in your dashboard. Extend and customize to fit your needs.

*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>

## API gotchas

* Simpplr runs two different products. This integration is for Simpplr's own platform, documented at [platform.simpplr.com](https://platform.simpplr.com/reference). Older tenants run as a managed package inside the customer's Salesforce org and authenticate through Salesforce; use the `salesforce` integration for those.
* The API host is per region, and the tenant's OAuth token URL is the only place the region is stated: `platform.app.simpplr.com` (United States), `platform.eu.simpplr.com`, `platform.au.simpplr.com` and `platform.ca.simpplr.com`. A wrong **Region** points the connection at another region's tenant.
* Simpplr's published B2B OpenAPI gives its token URL as `https://platform.{env}.simpplr.xyz/v1/identity/oauth/token`. The working domain is `.com`, so a client generated from that spec calls a host that does not resolve.
* The token response carries only `access_token`, with no `expires_in`. The access token is itself a JWT, so Nango decodes it and reads its `exp` claim to determine the real expiry.
* Tokens are read-only unless a scope is requested. Simpplr accepts `read` (the default), `write` and `everything`, and `read` covers GET calls plus the search endpoints that take a POST body. Simpplr grants whichever scope the token request asks for, so a client application is not limited to read access by how it was created.
* The B2B API covers tenant-level access. Simpplr's separate User API acts for a signed-in user and expects an authorization code exchange whose token body names the code `auth_code`, which this integration does not use.
* `GET /v1/b2b/identity/test` is the cheapest call for checking a connection.
* Paging differs by endpoint. The content and sites endpoints page with `size` and `nextPageToken`, but `GET /v1/b2b/identity/users` rejects both with a 400.
* Content `body` is HTML, not markdown or plain text.

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/api-integrations/simpplr.mdx)</Note>
