---
schema_version: "1"
id: 73298f5914b1cfebe09b38c84ee09029122bc5fe70eb471fd663e631ab729c02
title: Grant Apex Class Access to a Community Profile (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_grant_apex_class_access_to_a_community_profile.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_grant_apex_class_access_to_a_community_profile.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 01533cc2287175b7938008feae26ad5210f3e7ada021706820336c70efc3f4af
description: For the managed package runtime, configure Apex class access to ensure that your users see Flexcards on Experience Builder sites. Give access to the necessary Apex classes.
products:
  - Omnistudio
release: "264"
---
# Grant Apex Class Access to a Community Profile (Managed Package)

For the managed package runtime, configure Apex class access to ensure that your users see Flexcards on Experience Builder sites. Give access to the necessary Apex classes.

Before you begin, ensure that you're using the Original Profile Interface. See

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

[Disable Enhanced Profile User Interface (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_disable_enhanced_profile_user_interface.htm&release=264.0.0&type=5 "For the managed package runtime, enable the appropriate interface before configuring Community profile settings that ensure that your users see Flexcards on Experience Builder site. Use the Original Profile Interface.").

1. From Setup, type Users in the Quick Find box and click **Profiles**.
2. Find the profile for the users who will be accessing the Experience Builder site and click the profile name.
    
    If you click **Edit**, you won't see the Enabled Apex Class Access settings.
3. Scroll to the Enabled Apex Class Access section and click **Edit**.
4. If `namespace.CardCanvasController` is not in the Enabled Apex Classes list, select it from the list of Available Apex Classes and click **Add**.
5. Click **Save**.

What’s next: If you haven't already, [Configure Custom Object Permissions for Community Profiles (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_configure_custom_object_permissions_for_community_profiles.htm&release=264.0.0&type=5 "For the managed package runtime, configure custom object permission to ensure that your users see Flexcards on Experience Builder sites. Give access to the necessary objects.").