Create an Application
This guide will go through the steps needed for you to build an application for production.
Not ready to build an app?
Read our guide on getting your developer keys.
- Register for an account at Nylas.com.
- Expand the All Applications menu on the left and click Create New App.
- Name your application and select the type of application you want to create. All of the other fields are optional.
- Click Save.
We use the word application in three ways at Nylas:
- Your Nylas application. You can create multiple Nylas applications and we recommend creating one for both testing and production. Each application will have a Client ID and Client Secret. When you add accounts, each account needs to separately authenticate against each application.
- Your provider application. We recommend creating a provider application for both testing and production.
- Your local application.
Nylas offers two ways to authenticate: hosted authentication and native authentication. For more information on these methods, check out our guides below:
- Hosted Authentication - Nylas handles the authentication. Hosted authentication is faster and easier to implement than Native Authentication.
- Native Authentication - Use this method if you want to customize every step of the authentication process.
Once you're familiar with how to authenticate Nylas accounts, review the information for the specific provider you'll be using. Nylas connects with every email, contact, and calendar provider. Most integrations are straightforward and only require the IMAP/SMTP settings but for providers that require a bit more work, check out our guides below:
Google and Microsoft require an app to start adding accounts. If you're using another provider such as iCloud, you can skip to Install an SDK.
We recommend creating an provider application for both testing and production.
Our SDKs give you access to the Nylas API in the language of your choice.
Once you've decided on your authentication method and picked a client library, grab a copy of our sample application to learn how to implement both of these in your application and authenticate an account.
If you're using a Nylas production and testing application, you'll have to authenticate each account against each application. After you authenticate an account, you'll get an
access_token which can be used to make API requests.
Webhooks let you monitor your application health. Get webhooks for account status, when messages are opened, new events, and more.
You're now ready to make API requests!
Ready for production?
Review our production checklist to make sure you're ready for launch.