Skip to main content

Set up Lambda layer

1) Create Lambda layer with required libraries#

mkdir lambda && cd lambda

npm i -s supertokens-node @middy/core @middy/http-cors
mkdir nodejs && cp -r node_modules nodejs
zip -r nodejs/

2) Upload SuperTokens lambda layer#

Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI