This repository is standalone, and can be completed by following the steps below. This workshop was also presented at WeAreDevelopers.
The repository will show you how to get started with building using the AI Stack and Email. To get up to speed, we will keep this workshop light with respect to dependencies and third party services.
We will need some data to work with, so will use our emails retrieved using the Nylas Email API. To learn more about Nylas, check out our developer docs.
node version 18 and above
You'll need the following values from the Nylas Dashboard:
NYLAS_API_KEY=NYLAS_API_KEY
NYLAS_GRANT_ID=NYLAS_GRANT_ID
NYLAS_API_URI=https://api.eu.nylas.com
Ensure to use the correct NYLAS_API_URI for your app's region (EU: https://api.eu.nylas.com, US: https://api.us.nylas.com). You can check the data residency from the dashboard for EU: 🇪🇺 or US: 🇺🇸:
Add the above values to a .env
file.
The .env
file is added to .gitignore
. Ensure to store these values securely.
[replace with install steps]
$ npm i
Use this starter code and follow along with the slides to complete the workshop!
If you need help, reach out to us during the workshop or drop a message on our forums:
Visit our Nylas documentation to learn more.