Configure AccessBot Form
This is a solution for requesting access to resources via a form page built using Workflow Builder.
In case you already have an Access Form built from Workflow Builder, you can jump to the Set Environment Variable. If you don’t have one yet, please follow the next steps.
Set Up Workflow Builder Access Form
In order to configure the access request form, you just need to add a new “Workflow shortcut” following the next images:
Then, you should be able to open the access form:
Set Environment Variable
Now that you have an access form, let’s configure the environment. You only need to add the environment variable SDM_ACCESS_FORM_BOT_NICKNAME
in your env-file
with the Workflow bot nickname.
To find out the Workflow bot’s nickname run the following command in a terminal (in the project root):
$ python3 tools/get-slack-handle.py -d "AccessBot Form"
After running this command, you should see something like this in the terminal:
The nick for that user is: @wb_bot_xxxxxxxxxxx
Finally, put that nickname as the value of the environment variable mentioned above.
SDM_ACCESS_FORM_BOT_NICKNAME=@wb_bot_xxxxxxxxxxx
Usage Example
The following gif shows an example of how to use the AccessBot form to request a resource from StrongDM.