Prerequisites
Node v10+ — can find out by running node --version
should also have npx
Cloud credentials
Step 1: Create Indent Space
Create a space: indent.com/spaces/new
Step 1.2: Add others to Indent and upgrade your role
Step 2: Create Slack workspace (if necessary)
#access-requests
Step 3: Connect Slack to Indent
Step 4: Prepare Okta tenant
Go to Security → API → Tokens (tab) then "Create Token"
indent-example-[customer]-token
admin
& read-admin
Go to Security → Administrators then "Add Administrator Group"
admin
read-admin
Step 5: Create and setup your webhook
indentapis/indent-js
repo...curl https://codeload.github.com/indentapis/indent-js/tar.gz/master | \ tar -xz --strip=2 indent-js-master/examples/terraform-aws-okta-webhook && \ mv terraform-aws-okta-webhook myapp-terraform-aws-okta-webhook
npm run deploy:init # initializes terraform aws provider with ~/.aws/config npm run deploy:prepare # builds AWS Lambda layers
mv terraform/config/example.tfvars terraform/config/terraform.tfvars
# Indent Webhook Secret is used to verify messages from Indent indent_webhook_secret = "<from-step-3>" # Okta Tenant is used to route requests to your Okta environment okta_tenant = "example.okta.com" # Okta Token is used to authorize requests to your Okta environment okta_token = "<from-step-4>"
npm run tf:plan npm run tf:apply # or if you want to auto-approve deploy npm run deploy:all
Step 6: Add Rules to Indent
okta.v1.group