Connecting Deel to Sebastian
Sebastian reads the people you employ through Deel (names, location, start and end dates, pay rates), what was paid to them each month, and the employer taxes and costs on that pay, to include them in headcount planning. It only reads. It never changes anything in Deel.
Who can do this
Section titled “Who can do this”- In Deel: a Deel Organization Admin, or an IT Developer Admin. Integrations Admins can’t create API tokens. We recommend an Organization Admin.
- In Sebastian: someone with the Admin or IT Admin role, or a custom role with full access to Integrations.
Permissions to give the token
Section titled “Permissions to give the token”Choose exactly these five, all read-only:
| Permission | What Sebastian uses it for |
|---|---|
organizations:read |
Confirming which company the token belongs to |
people:read |
The list of people: department, country and state, start date and pay rate |
legal-entity:read |
Finding your payroll cycles |
global-payroll:read |
Deel’s gross-to-net payroll report: each person’s past pay, employer taxes and benefits for each payroll cycle |
contracts:read |
Terminations: who is leaving or has left and their end date |
Token settings
Section titled “Token settings”- Token type: Organization token (not a Personal token).
- Sensitive data: leave every “hide” or redaction option off, and keep access to the whole organization. Sebastian needs names, pay rates and payroll figures. If any of them are hidden, people or their months of pay will be left out of the plan.
- In Deel, open the Developer Center: Settings > Developer > Tokens. On some accounts the path is More > Developer > Access Tokens.
- Click Generate new token and choose Organization token.
- Select the five permissions above. If the screen shows presets such as Read-only or Payroll & finance, choose Custom and search for each permission by name.
- Under Limits and privacy (Sensitive data on some screens), keep access to the whole organization and leave every redaction option off.
- Click Generate (Create token on some screens) and copy the token straight away. Deel won’t show it again.
- In Sebastian, open Settings > Integrations > Deel. Choose Production (or Sandbox if the token came from a Deel sandbox account) under Environment, paste the token into Organization API token, and click Connect.
Production and sandbox tokens aren’t interchangeable. A token only works in the environment it was created in.
If something is wrong
Section titled “If something is wrong”- “Deel did not accept this token. Check the token and environment in Deel’s Developer Center.” Check that you copied the whole token and picked the right environment.
- “Deel would not share its people. Give the token permission to read people and organizations, then try again.” Add the missing permission and generate a new token.
- “Deel could not be read. Try again in a moment.” Try again.
- “Deel did not accept this token. It may have expired: create a new one in Deel and connect Deel again.” The token stopped working after it was connected. Generate a new token and click Replace next to “Credentials saved”.
- “Deel’s token can’t read payroll. Create a new token that can read Global Payroll and legal entities, then connect Deel again.” Add
global-payroll:readandlegal-entity:readto a new token. If you can’t find them, ask an Organization Admin to create the token. If they can’t find them either, ask your Deel account manager to turn on API access to payroll. - “Deel shares pay amounts only for people on Deel Global Payroll, and this company runs none there.” Deel reports past pay only for people paid through Deel Global Payroll. Sebastian still reads your people and their pay rates.
- “Connect a different Deel company?” The token opens a different company or environment than the people Sebastian already holds. The message says how many people and months of pay would be deleted and replaced by the new company’s. Click Delete and connect to continue, or cancel to keep what you have.
- “You don’t have access to this. Ask an admin in your organization for access.” Your Sebastian role can’t manage integrations. Ask a Sebastian admin.
Some people may be left out of the plan after the first read. That means Deel is missing something Sebastian needs for them, such as a pay rate or an end date. It isn’t a permissions problem.
Good to know
Section titled “Good to know”- How often it reads. Sebastian reads Deel every 30 minutes by default. Open Deel under Settings > Integrations to choose Sync frequency (every 5 minutes to every 24 hours) or click Sync now.
- Rotating the token. Generate a new token in Deel, then click Replace next to “Credentials saved” in Sebastian, choose the environment, paste the new token and click Connect.
- Sandbox. A connection made with a sandbox token is labelled Sandbox in Sebastian.
- Disconnecting. Click Disconnect on the Deel panel in Sebastian.