1
Check the requirements
Apps are available from the Construa plan, with the Gestão de Aplicativos extension installed in the Tiny ERP account. An account can have up to 5 apps.
2
Create an app
- In Tiny ERP, open Menu > Configurações > Geral > Aplicativos.
- Click + novo aplicativo and enter a name for the app.
- Under URLs de Redirecionamento, add
https://api.nango.dev/oauth/callback(or your own custom callback URL). - Tick the permissions (modules) your integration needs, for example account information to call
GET /v3/info. - Save, then open the app again and copy the Client ID and Client Secret under Chaves de acesso. Renew the client secret whenever you change the permissions.
3
Add the credentials in Nango
In your Tiny ERP integration in Nango, paste the client ID and secret. Nango requests the
openid scope; the permissions come from the app.4
Next
Follow the Quickstart.
Because every Tiny ERP account has its own app, you will usually let each user bring their own credentials. Create the Connect Session with empty
oauth_client_id_override and oauth_client_secret_override values: Connect UI then shows Client ID and Client Secret as fields the user fills in. See Create a connect session for the exact syntax.