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 atSpoke
Create a new User with an easily identifiable name like "Indent Bot"
Go to Profile → API → API token (tab) then "Generate a token"
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-atspoke-webhook && \ mv terraform-aws-atspoke-webhook myapp-terraform-aws-atspoke-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>" # Indent Space Name is used to link to the right space on Indent indent_space_name = "my-space-123" # atSpoke API Key is used to authorize requests to your atSpoke environment atspoke_api_key = "<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