# Embedding Apps on Websites

> 🚧 Embeds to be deprecated August 2023 It is now recommended to use the [Web SDK](../sdks) to embed apps (CXR 18.1+) into other sites as Airkit embeds are no longer supported.

This article will cover the basics of creating a simple embed for your app. This article requires a published app and will use a simple Lead Capture example app.

### Creating the Embed in Console

Go to [Console](../../console/console), select the Resources tab. Select the Embeds section. Click the New Button. Give the Embed a name. Embeds _only_ work with deployed apps. Learn about [publishing an app here](../../building-apps/publishing/publishing-your-application). Select a deployed app from the App dropdown menu. Select the deployment from the Deployment dropdown.

![organizing info](https://4185914948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSItjRhbHaLQ4ar3DUljt%2Fuploads%2Fgit-blob-e2a4f9751f0760d481beed072834fffcfa184105%2Fembedding-apps-on-websites-v181-0.png?alt=media)

In order to display the app on a page, a target hostname is required. For the purposes of the example, include three: **http://**, **https://**, and **file://**. This will allow for testing locally and the embed to be served on both a http and https provided resource. &#x20;

Select the checkboxes for "Use Launcher", "Show Launcher on Load", and "Show Frame on load." This will display both the icon and the app when the page loads. In the styles box, scroll down to **buttonImage**, and insert a valid image URL for the "src" value. Click Create.

![](https://4185914948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSItjRhbHaLQ4ar3DUljt%2Fuploads%2Fgit-blob-f54079d6cc5c493f5b27b8f85eabca55b4c7843c%2Fembedding-apps-on-websites-v181-1.png?alt=media)

Click on the icon under Embed script to copy the HTML to display the embed. Paste the copied code into a web page. Open the page in a browser. The embed will be displayed on the first rendering of the page.

![organizing info](https://4185914948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSItjRhbHaLQ4ar3DUljt%2Fuploads%2Fgit-blob-bf6a7f4fc142b7f6fe4f8fa38c495019f0960ce5%2Fembedding-apps-on-websites-v181-2.gif?alt=media)

The embed on this page is launching a simple lead capture. When the embed launches it creates a new session for the user. Each time the page is loaded the web launch trigger is hit and the app starts a session.

To delay the display of the lead capture to allow the user to see the page first, set the value of "Show Frame on Load After Duration" to "5000." This is in milliseconds so this means the frame will now be rendered in 5 seconds. Click Update. Go back to the resource where the embed is located and refresh.

Show Frame on Load After Duration is just one of many configurable properties on Embeds. Check out [Airkit Embeds: AirClient Configurable Properties](airclient-configurable-properties) for a full list of the properties that can be configured on an Embed.
