--- title: "Self Hosting Whatfix Mobile content" slug: "self-hosting-whatfix-mobile-content" updated: 2025-07-04T03:49:42Z published: 2025-07-04T03:49:42Z canonical: "support.whatfix.com/self-hosting-whatfix-mobile-content" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Self Hosting Whatfix Mobile content > [!WARNING] > Note: > > To enable the feature, contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Enable%20Self%20Hosting%20in%20Mobile&Body=Hey%20team%2C%0A%0AKindly%20enable%20Self%20Hosting%20for%20my%20Whatfix%20Mobile%20account.). Whatfix Mobile enables you to download the content you have created and host it on your own servers. Self Hosting is useful when you are on an internal network and cannot access the in-app experience from the Whatfix cloud or when your IT security doesn't enable resource loading from remote servers. With Self Hosting, create the in-app experience on the Whatfix cloud and export it as a .zip file for hosting on your CDN (Content Distribution Network) or private server. Use the following steps to self host Whatfix Mobile content: 1. On the Whatfix Mobile Dashboard, select the App containing the Projects you want to export. ![dashboard_select_app](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/dashboard_select_app.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) 2. Click **App Settings**. ![app_settings](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/app_settings.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) 3. In the **Export content** section, click **Export**. ![export_content2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/export_content%282%29.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) > [!NOTE] > Info: > > - The project you create needs to be published before you export it. > - After you export the App, an email with a link to download the content is sent to your registered email address. > > ![export_content_dialog](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/export_content_dialog.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) 4. To download the .zip file, go to the email and then click **Download Package**. ![export_package_email](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/export_package_email.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) 5. Unzip the file and upload the **Whatfix** folder to your server. > [!WARNING] > Note: > > - The folder name is a UUID (a 36-character alphanumeric string) that contains the whatfix folder. > - The Whatfix folder includes all the resources and assets required for the SDK to run on Self hosted mode. > [!NOTE] > Info: > > - Here's how the extracted folder looks like: ![Mobile_extracted_folder.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Mobile_extracted_folder.png?sv=2026-02-06&spr=https&st=2026-10-29T17%3A13%3A32Z&se=2026-10-29T18%3A13%3A32Z&sr=c&sp=r&sig=0XI0nGwD0ME%2BpWqtstTlDzrXtGWivbcvgKe%2F%2FyyJN1Q%3D) > - Ensure that you keep the folder structure intact while uploading it to your server. > - If you update your Whatfix Mobile content, you have to publish it and then export the .zip file again. 6. After uploading the content to your server, add the following code as per your platform while initializing the SDK to fetch Whatfix Mobile content from your CDN or server. > [!WARNING] > Note: > > Ensure that the URL ends with a slash('/'). For example, **https://xyz.test.com/self-hosting/** > [!NOTE] > Info: > > The Self Hosting feature is available only for SDK versions equal to and above the following versions: > > Android: 2.0.10 > > iOS: 2.0.7 > > React Native (Android and iOS): 2.0.10 > > Xamarin (Android and iOS): 2.0.7 > > Cordova (Android and iOS): 2.0.7 > > Ionic: 1.2.0 > > MAUI Android: 2.0.7 AndroidiOSReact NativeIonicCordovaXamarinJetpackMAUI ### Android ```javascript Leap.startWithSelfHostingEnabled("API_KEY", "SELF_HOSTING_BASE_URL"); ``` ### iOS ```swift Leap.shared.withSelfHostedBuilder()?.setBaseUrl("SELF_HOSTING_BASE_URL")?.start("API_KEY") ``` ### React Native ```javascript LeapReactNative.startWithSelfHostingEnabled("API_KEY", "SELF_HOSTING_BASE_URL"); ``` ### MAUI ```csharp Leap.WithSelfHostedBuilder()    .SetBaseUrl("SELF_HOSTING_URL")    .Start("API_KEY"); ``` ### Jetpack ```javascript Leap.startWithSelfHostingEnabled("API_KEY", "SELF_HOSTING_BASE_URL"); ``` ### Xamarin (Android) ```java Leap.WithSelfHostedBuilder()    .SetBaseUrl("SELF_HOSTING_BASE_URL")    .Start("API_KEY"); ``` ### Xamarin (iOS) ```swift let selfHostingBaseUrl:String = "https://assets.selfhosting.com/self-hosting/" Leap.Shared.WithSelfHostedBuilder()?.SetBaseUrl(selfHostingBaseUrl)?.Start("API_KEY") ``` ### Cordova (Android) ```javascript cordova.plugins.LeapAndroid.startWithSelfHostingEnabled("API_KEY","SELF_HOSTING_BASE_URL") ``` ### Cordova (iOS) ```javascript cordova.plugins.LeapiOS.startWithSelfHostingEnabled("API_KEY","BASE_URL"); ``` ### Ionic ```javascript LeapPlugin.startWithSelfHostingEnabled({"apiKey":"API_KEY", "baseUrl":"SELF_HOSTING_BASE_URL"}) ``` ## Related - [Limitations of Self Hosting model](/limitations-of-self-hosting-model.md)