Skip to content

nylas-samples/ai-stack-workshop

Repository files navigation

The AI Stack

Workshop: Build with AI + Email

Sign up for Nylas for Free!

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.

Sign up for Nylas for Free!

Setup

System dependencies

node version 18 and above

Gather environment variables

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: 🇺🇸:

Screenshot 2024-07-16 at 8 18 29 AM

Add the above values to a .env file.

The .env file is added to .gitignore. Ensure to store these values securely.

Install dependencies

[replace with install steps]

$ npm i

Usage

Use this starter code and follow along with the slides to complete the workshop!

Get support

If you need help, reach out to us during the workshop or drop a message on our forums:

https://forums.nylas.com/

Learn more

Visit our Nylas documentation to learn more.

About

Workshop: The AI Stack - Build with AI + Email

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published