Skip to content

Getting started with Nylas

Nylas is a powerful unified API platform that enables you to integrate email, calendar, scheduling, and transcribing functionalities into your project. Nylas supports popular providers like Gmail, Microsoft, IMAP, and others.

This quickstart will walk you through setting up your Nylas application so you can start using the Nylas APIs.

Before you start, you need to have a Nylas account. If you don’t have one already, you can create one here.

  1. Log in to the Nylas Dashboard.
  2. On the All apps page, click Create new app.
  3. Select the Data residency.

    This determines where Nylas stores your application and user data. Be sure to select the region where your project will be active. You can’t change this setting later.

  4. Select the Environment.
  5. Click Create application.

You’ll need an API key for the last step.

  1. On your application’s page, click API Keys in the left navigation.
  2. Click Generate new key.
  3. Enter an API key name and select the Expiration time.
  4. Click Generate key.
  1. On your application’s page, click Grants in the left navigation.
  2. Click Add Account.

You’ll be prompted to enter your email address. If the authentication is successful you’ll see your email address and grant ID with a valid status on the Grants page.

Now that you’re all set up, it’s time to make your first API call. 🚀 For this example, we’ll be using the Get all Messages endpoint to return the five latest messages from your inbox. Be sure to replace the placeholder fields with your grant ID and API key from the previous step.