Skip to main content

If you are using our backend SDK that is lesser than the following versions, please visit the older documentation link here.

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