Service Accounts
Service accounts are a special type of account that represent a non-human user that needs to access multiple accounts within a single organization. They enable admins to onboard entire organizations at once into a new app or service without requiring each individual user to grant access; this is useful for organizations that have multiple accounts they want to connect with Nylas without interrupting the end users to complete their account authentication.
Service account integration is available with Nylas for providers:
- Google Workspace Service Accounts Setup
- Google Calendar support only
- Microsoft 365 Service Accounts Setup (Exchange Online)
Service Account Setup
Service accounts are only available using Nylas native authentication.
- Your customer's IT Administrator does a one-time configuration of service accounts for their Google Workspace or Microsoft 365 Organization and shares the credentials with you.
- Your application uses the service account credentials to authenticate accounts using the /connect/authorize endpoint and receives a one-time code that can be exchanged for an access token.
- Use the one-time code to retrieve an
access_token
for the account. This access token can be used to query data from the Nylas API. See the /connect/token reference for details.
What's Next
Learn how to set up a service accounts with: