---
schema_version: "1"
id: 987bd2395b276a8d4c293eb2d7b5a6b34c341bfcd8550afef533029e2c0b02d5
title: Activate and Launch Omniscripts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_activate_and_deploy_omniscripts_19760.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_activate_and_deploy_omniscripts_19760.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0bf94c37730630509fc592ab947d6339f243de4e793ee1f61f5206dbbf86da2a
description: Make Omniscripts available to Experience Sites, Lightning Pages, custom LWCs, and Lightning tabs by activating and launching the Omniscript. If an error occurs during deployment, the Omniscript is deactivated.
products:
  - Omnistudio
release: "264"
---
# Activate and Launch Omniscripts

Make Omniscripts available to Experience Sites, Lightning Pages, custom LWCs, and Lightning tabs by activating and launching the Omniscript. If an error occurs during deployment, the Omniscript is deactivated.

Before you begin, make sure that all components embedded in the Omniscript are also active.

1. From the Omniscript designer, activate the Omniscript.
2. After activating the Omniscript, click **How to launch?** to view how you can launch the Omniscripts.
    
    See [How to Launch Omniscripts](https://help.salesforce.com/s/articleView?id=xcloud.os_how_to_launch_19862.htm&release=264.0.0&type=5 "Make an active Omniscript available for launch in one of three ways: as a standalone Lightning Web Component in a Lightning Web Page or as a URL.").
3. After activating your Omniscript, launch your Omniscript from a Lightning page or Experience page in these ways:
    - Launch an Omniscript using the standard Omniscript component.
    - Launch an Omniscript using the Omniscript's generated LWC.
4. If an error occurs on the initial load of an Omniscript, in the Omniscript, click **Deactivate**, then click **Activate**.
5. If there’s an issue with deploying the Omniscript in a Lightning or Experience page, redeploy the Omniscript by clicking **Deploy Standard Runtime Compatible LWC**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)
    
    Note This feature applies only to the managed package designer on standard runtime.
6. To reference your Omniscript on an Aura Experience Cloud site, or on a Lightning page, use the Omniscript wrapper component available from the Salesforce Lightning Component Library. See [Component Library](https://developer.salesforce.com/docs/component-library/bundle/lightning-omnistudio-omniscript) for more information. If you’re referencing an Omniscript in a Lightning web component (LWC), you must use a wrapper component that takes in the name of the Omniscript you want to load at runtime, as shown. The type, subtype, and language attributes are mandatory. The Lightning theme is added by default. However, if you'd like to use the Newport theme instead, add the theme attribute as well.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_example.png)

Example

```
<namespace-omnistudio-standard-runtime-wrapper type={type}
                                           subtype={subtype}
                                           language={language}
                                           theme={theme} 
                                           inline={inline}
                                           inlinevariant={inlinevariant}
                                           inlinelabel={inlinelabel}
                                           direction={direction}
                                           record-id={recordId} 
                                           prefill={prefill} >
</namespace-omnistudio-standard-runtime-wrapper>
```

- **[How to Launch Omniscripts](https://help.salesforce.com/s/articleView?id=xcloud.os_how_to_launch_19862.htm&release=264.0.0&type=5)**  
    Make an active Omniscript available for launch in one of three ways: as a standalone Lightning Web Component in a Lightning Web Page or as a URL.
- **[Add Your Omniscript to a Lightning Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_a_lightning_page_19957.htm&release=264.0.0&type=5)**  
    In Omnistudio standard runtime, add the standard Omniscript component to a Lightning page after activation.
- **[Add Your Omniscript to an Experience Cloud Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_an_experience_page_19992.htm&release=264.0.0&type=5)**  
    In the Omnistudio standard runtime, add the standard Omniscript component to an Experience Builder page after activation.