Configure a permission set
Mavens recommends using a permission set to manage access to the Komodo Insights Component.
-
In the Quick Find box in Setup, search for and select Permission Sets.
-
Create a new permission set or select an existing one.
-
In the permission set, click Apex Class Access.
-
Click Edit.
-
Add mvn.KHBI_KomodoComponentCtrl to the Enabled Apex Classes list.
-
Click Save.
-
Click Permission Set Overview to return to the permission set.
-
In the permission set, click Named Credential Access.
-
Click Edit.
-
Add the Named Credential created in the step 2 of Component Setup to the Enabled Named Credentials list.
-
Click Save.
-
Assign the permission set to the users who should have access to the Komodo Insights Component.
Optionally, you can also create and add a custom permission to the permission set so that the component is only visible to users assigned with the permission set. Visit Salesforce's documentation on how to Create Custom Permissions and Enable Custom Permissions in Permission Sets.