> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.pipelaunch.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Hide Salesforce (or PipeLaunch) Lightning Web Components based on Permission Sets

This will allow to select which users can see the PipeLaunch components.

### Creating the Permission Set and the Custom Permissions

1. Go to Setup

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1kafc5n.png)

2. Search for **Custom Permissions** and click on **New**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_2npvz9.png)

3. Call the new Custom Permision **PipeLaunch View** and click **Save**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1cwrmkz.png)

4. Search for **Permission Sets** and click on **New**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_t87hsv.png)

5. Call the new Permission Set **PipeLaunch View** and click **Save**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_ha7nm1.png)

6. Open the new Permission Set called **PipeLaunch View **

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_z35aa5.png)

7. Select Custom Permissions

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_lahsjy.png)

8. Click on edit

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_10uwl6u.png)

9. Move the **PipeLaunch** View over

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1j7s9q.png)

10. So that it is under **Enabled Custom Permissions** and **Save**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_8zr2ak.png)

11. Go to the **Permission Set** that was created in step 5.

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1gjqhp8.png)

12. Select **Manage Assignments**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1nn2olm.png)

13. Click on Add **Assignments**

14. Select the user you want to add click **Next**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1m5yelq.png)

15. On the next page click **Assign**

**Adding the Custom Permission to the Components that should not be visible to specific users**

1. Edit page of the desired component (Contact, Lead, Account, Opportunity) and go to **Edit Page**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_18wpml6.png)

2. Select the desired component and click on **+ Add Filter**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1rs538i.png)

3. Click on **Advanced**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_ua9oj6.png)

4. Use the selection as displayed below **Permissions** / **Custom Permission** / **PipeLaunch_View**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_1w8xecf.png)

5. Click on Done and it should now display an eye icon.

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_s4jdtn.png)

### The result will look like this

**Without** Permission Set  **PipeLaunch View**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_5wfrtr.png)

**With** Permission Set  **PipeLaunch View**

![](https://storage.crisp.chat/users/helpdesk/website/348acba567d60c00/image_ink401.png)