---
schema_version: "1"
id: ec43268ef53f4a02fe3127495b33aa4821ceaaa3750b1ca255a7e15c8262fc50
title: Allow In Relaxed CSP
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/lightningcommunity/allowInRelaxedCSP/lightningcommunity-allow-in-relaxed-csp.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/lightningcommunity-allow-in-relaxed-csp.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9cbfe8e0f856c09777806f9edcf9645c0c319e186e0f43e932e2608ac019f65c
products:
  - Lightning Component Reference
---
# Allow In Relaxed CSP

**`lightningcommunity:allowInRelaxedCSP​`**

Enables a component to be used in a Relaxed CSP Experience Builder site.

**For Use In**

Experience Builder Sites

::::::tabset{tabs='["Develop", "Specifications"]'}

:::::tab

Add the `lightningcommunity:allowInRelaxedCSP`​ interface to enable this component to run in an Aura-based Experience Builder site that has Lightning Locker disabled. If this interface is not implemented, and Lightning Locker is disabled, your component won't be rendered in runtime, and won't be available in design time.

This example shows the markup required to add the `lightningcommunity:allowInRelaxedCSP`​ interface.

```xml
<aura:component implements="lightningcommunity:allowInRelaxedCSP">
    <!-- Your component markup here -->
</aura:component>
```

For more information, see [Enable Third-Party Components to Run When Lightning Locker Is Off](https://developer.salesforce.com/docs/atlas.en-us.communities_dev.meta/communities_dev/communities_dev_security_locker_off_components.htm) in the _Experience Cloud Developer Guide_.


:::::

:::::tab

![No specifications to show](https://developer.salesforce.com/media/no-specs.png)


:::::

::::::
