---
schema_version: "1"
id: cc03da6f0be9df8d2991033bebab467e8427cf48df1d298933f7b8ca12beceea
title: Configure API Visibility
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/api-community-manager/visibility.md
canonical_url: https://docs.mulesoft.com/api-community-manager/visibility
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9fd3dd14f975a911cb7805693726322289847ab2b7d5c3c4bc591c1293eb382d
description: MuleSoft Documentation Site
latest: true
---
---
product: API Community Manager
---

# Configure API Visibility

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint API Community Manager uses visibility rules to make APIs visible to selected groups of
users.

For example, your community could have a Payment API and a Trade API visible to the financial
developers team of three users, and have an Order Submission API visible to the retail developers
team of two other users.

API visibility rules use the Salesforce object CommunityApi to represent each API published in your
community, and Salesforce
[Public Groups](https://help.salesforce.com/s/articleView?id=platform.user_groups.htm&type=5) and
[Sharing Rules](https://help.salesforce.com/s/articleView?id=platform.security_about_sharing_rules.htm&type=5)
to provide a flexible permissions model.

## Visibility Setup

To set up API visibility, configure your community to enable visibility, define your member groups,
and define visibility rules to grant the groups permission to see APIs.

### Enable Visibility

Follow these steps to configure your community for API visibility:

1.  Create a new **ACM Community User Plus** profile based on the **Customer Community User Plus**
    profile:

    1.  Click **Salesforce Setup** > **Profiles**.

    2.  Select **Customer Community User Plus**.

    3.  Click **Clone**.

    4.  Enter a name for the new profile that represents the use case, such as `External Developer`.

    5.  Assign permissions that match the member user profile permissions described in the API
        Community Manager documentation section
        [Configure Member User Profile Permissions](https://docs.mulesoft.com/api-community-manager/create-community#configure-member-user-profile-permissions).

2.  Configure your community to use the new profile:

    1.  Click **Setup** > **All Communities**.

    2.  In the API Community Manager control panel, click **Shortcuts to applications** and select
        **Site Administration**. Click the **Members** tab.

        If you don’t see **API Community Manager** in **App Launcher**, follow
        [Enable API Community Manager Control Panel](https://docs.mulesoft.com/api-community-manager/manual-setup#enable-api-community-manager-control-panel).

    3.  In **Select Profiles**, use the search menu to select **Customer**.

    4.  Add the new **ACM Community User Plus** profile to the selected profiles.

    5.  Remove the existing **ACM Community User** profile but _do not_ remove the **System
        Administrator** profile.

        If you remove the **System Administrator** profile, the system locks you out and removes all
        access to your community.

3.  Remove all profiles from your community sharing set:

    1.  Click **Setup** > **Communities Settings**.

    2.  In **Sharing Sets**, edit your community sharing set and remove all profiles from **Selected
        Profiles**.

    3.  If **Selected Objects** in the sharing set includes it, remove **CommunityApi**.

4.  If your community already has users, click **Setup** > **Users**, update each user to change
    **User License** to **Customer Community Plus**, and select the new **ACM Community User Plus**
    profile.

5.  In the API Community Manager control panel, set the visibility of each of your APIs to **Members
    Only**.

### Define Member Groups

Use member groups, also known as _public groups_, to group members and then make individual APIs
visible to the group. Visibility rules, also known as _sharing settings_, determine which APIs are
visible to a member group.

To create a member group:

1.  Click **Setup** > **Public Groups**.

2.  Create a public group.

3.  Enter a name, such as `External Developers`.

4.  Click **Save**.

To add members to a member group:

1.  Click **Setup** > **Public Groups**.

2.  Edit the group.

3.  In the **Search** menu, select **Customer Portal Users**.

4.  Add the members by moving them from **Available Members** to **Selected Members**.

    **Available Members** shows only users with the new **ACM Community User Plus** profile. If the
    user you want to add is not in **Available Members**, open the user record and verify the
    profile.

5.  Click **Save**.

### Define Visibility Rules for APIs

Use visibility rules, also known as _sharing settings_, to define a set of conditions that determine
which APIs are visible to a specific member group.

To create a new sharing set:

1.  Click **Setup** > **Sharing Settings**.

2.  In **Manage sharing settings for**, select **CommunityApi**.

3.  In **Sharing Rules**, click **New**.

4.  Enter a name for the rule.

5.  In **Select your rule type**, select **Based on Criteria**.

6.  Customize criteria using the available fields in the API, such as **Name** and **Visibility**.

    Use **Add Filter Logic** to define and/or conditions.

7.  Select a member group to enable it to view the APIs matching these conditions.

In this example, an internal developer group sees publicly visible APIs and some internal APIs:

![Sharing Settings](/mulesoft/current/en-us/api-community-manager/_images/sharing-settings.png)

## Add Members to a Member Group

To add members to a member group:

1.  Click **Setup** > **Public Groups**.

2.  Edit the group.

3.  In **Search**, select **Customer Portal Users**.

4.  Add members to the group by moving them from **Available Members** to **Selected Members**.

    **Available Members** shows only users with the new **ACM Community User Plus** profile. If the
    user you want to add is not in **Available Members**, open the user record and verify the
    profile.

5.  Click **Save**.

## Make an API Visible to a Member Group

To make an API visible to a member group:

1.  Click **Setup** > **Sharing Settings**.

2.  In **Manage sharing settings for**, select **CommunityApi**.

3.  In the **Sharing Rules** section, create a new rule or edit an existing rule.

4.  Ensure that the rule matches the API.

5.  Ensure that the rule specifies the member group.

## Automation

Assign users to member groups automatically with the option that best suits your needs:

- For simple automation such as adding each new user to a default member group, use Salesforce
  [Process Builder](https://help.salesforce.com/s/articleView?id=platform.process_overview.htm&type=5).

- For complex automation by writing business rules for group assignment directly in APEX code, use
  [APEX triggers](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers.htm).

- For complex automation by using declarative group assignment, use Salesforce
  [Flows](https://help.salesforce.com/s/articleView?language=en_US&id=sf.flow.htm&type=5).
