---
schema_version: "1"
id: cc2aa497f84335a8d8c535951b78f2cd3739ac7712b5293ec582a632d875b3ac
title: Run OmniOut in Development Mode (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_run_omniout_in_development_mode.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_run_omniout_in_development_mode.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0209eebb6155122b0b2324c41a81372d045bf1b2c18f8093b457ed5ef99699b5
description: For the managed package runtime, view and test your Omniscript and Flexcard before adding it to your application by running it in development mode. Use a jsForce connection to request data from your org.
products:
  - Omnistudio
release: "264"
---
# Run OmniOut in Development Mode (Managed Package)

For the managed package runtime, view and test your Omniscript and Flexcard before adding it to your application by running it in development mode. Use a jsForce connection to request data from your org.

Before you begin:

![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).

1. Download your Lightning web component and add it to OmniOut. For Omniscripts, see [Add an Omniscript Lightning Web Component to OmniOut (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_add_an_omniscript_lightning_web_component_to_omniout.htm&release=264.0.0&type=5 "For the managed package runtime, download and configure an Omniscript to use it off-platform in OmniOut. Download your Omniscript LWC from the LWC Omniscript Designer, add the component folder to the OmniOut project, and configure files for HTML and CSS."). For Flexcards, see [Add a Flexcard LWC to OmniOut (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_add_a_flexcard_lwc_to_omniout.htm&release=264.0.0&type=5 "For the managed package runtime, download and configure a Flexcard to use it off-platform in your OmniOut project. Download your Flexcard LWC from the Flexcard Designer, add the component folder to the OmniOut project, and configure files for HTML and CSS.").
2. To enable a Salesforce API connection from your app, create a Salesforce Connected App. See [Create a Connected App for OmniOut (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_connected_app_for_omniout.htm&release=264.0.0&type=5 "For the managed package runtime, enable the external connection to interact with Salesforce by configuring a Connected App in Salesforce. Create a Connected App to make external calls from OmniOut. Connected Apps provide OmniOut with an access token that enables proxies and login authentication to work.").

See [jsForce on GitHub](https://jsforce.github.io/).

1. In the **.src** folder's **index.html** file, locate `function JSForceConnectionExample()`.
2. In the `const connection` object, enter the Salesforce Connected App's access token and instance URL. See [Access Token](https://jsforce.github.io/document/#access-token).
    
    ```
    const connection = new jsforce.Connection({          // Set your jsForce configuration here
        accessToken: '', 
        instanceUrl: ''         
    });
    ```
    
    ![Dev mode OmniOut app's jsForce connection object](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/development_mode_omniout.png)
3. Set **this.namespace** equal to the namespace of your package namespace.
4. Save your file.
5. In the terminal, enter and run the command `npm run watch`.

What’s next: [Move OmniOut into Your App (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_move_omniout_into_your_app.htm&release=264.0.0&type=5 "For the managed package runtime, generate a compiled dist folder to move OmniOut into your app project before deploying your app to a content management system.").