Edit on github

#Auth0 Webtasks - Quick Start

This guide is designed to help you get started as quick as possible.

#1. Create a new service

  1. Create a new service with the webtasks-nodejs template
serverless create --template webtasks-nodejs --path my-service
  1. Install the dependencies
cd my-service
npm install

#2. Set up the credentials

Run the config crendentials command to create a local profile. You will be asked for a phone number or email. You'll immediately receive a verification code. Enter the verification code and your profile will be entirely setup and ready to use.

serverless config credentials --provider webtasks

#4. Deploy

Run the deploy command

serverless deploy

#5. Invoke

Run the invoke command

serverless invoke --function main