As the name suggests, an App is a single "view" (or "page") that you can build in Retool. An App is built from a combination of Components to construct the UI, and Queries that define calls to your Resources. Queries can do reads or writes.
The goal of this section is:
- To get the 3 applications that make up Snowflake User Access Roles Review into your Retool instance. 🚀
In this step, you will obtain the code file in the /code
directory in this Github repo.
To do this, clone this Github repo:
git clone https://github.com/tryretool/retool-app-exchange.git
(Alternatively, you can manually click-to-download the file in the /code
directory.)
You will have the following 3 files:
Compliance_Review_Portal.json
Create_Review_Cycle.json
Manager_Review_Portal.json
First, let's create a folder to put this code into, to keep things organized.
-
On your Retool home page, click "Create new" → "Create a new folder". Give this folder a name you like, e.g. "Snowflake User Access Roles Review".
-
Now, let's import the app.
- Click "Create new" → "Import an app".
- Upload the
Compliance_Review_Portal.json
,Create_Review_Cycle.json
,Manager_Review_Portal.json
files, and select the folder you just created ("Snowflake User Access Roles Review") as the destination.
In this section, we're going to test out the functionality in your new app.
- Identify the employees and system roles for which we want to review:
- The Create_Review_Cycle Retool application will allow you to manually input all the EMPLOYEE and SYSTEM_ROLES data required to generate the ACCESS_REVIEWS table
- If this is your first time using the app, create a couple example employees, system roles, and then create a review cycle. Make sure that you're email address used to login to Retool is one of the employees and you are listed as the reviewer email in the employees tab of the Create_Review_Cycle application.
- Alternatively, you can replace the EMPLOYEE and SYSTEM_ROLE tables with records from your existing ETL or database processes. Simply modify the createAccessReviews SQL in the Create_Review_Cycle application to point to the correct tables.
- In the Create_Review_Cycle admin application, define a new review cycle
- This will first save a new record in the REVIEW_CYCLE table and then create the ACCESS_REVIEWS table that will be used in the Manager_Review_Portal and Compliance_Review_Portal applications.
You should now have Snowflake User Access Roles Review app suite within your Retool instance! 🥳
Next steps: You can choose to customize or extend the application any way you like. Introduce any necessary automations to the Compliance_Review_Portal application. Examples include: * Making an API request to create/update JIRA tickets * Making an API request to send a Slack notification in the compliance channel that the data is ready to be reviewed.
Please consider contributing back to this Github repo if you make something you think other people would like to use! Get in touch by opening a Github Issue if you have an idea you want to run by us.
Questions, comments, feedback? Please open a Github Issue and let us know!