01 Getting Started

This tutorial will cover how to embed your project as an iframe on your own website. We will also cover the following:
  • Publishing your project and getting the iframe/embed script for your website.
  • Website responsiveness and how your web page will display on different devices.
  • Passing parameters from your parent site to the Titan web project in your iframe.
You can publish your project in several ways for your end user to see. You can publish as:
  •  LWC/Lightning Web Component in Salesforce.
  •  Using your website.
  •  Using a URL to host the project.
 This tutorial will focus on an iframe and embed it on your website.

02 Configuring for Different Devices

A later video will cover the process of configuring each device. This tutorial shows you how each device is labeled, which will impact the size of the iframe.

device drop-down

03 Publishing the Project

1. Click Publish to make your project go live.
  • This means that anyone with the URL can see your project.
Publish project page
 You can use the provided URL to distribute your project, or you can embed it.

04 iFrame

This tutorial will show how to embed the iframe into a WordPress website. The exact process can be followed for any website.

1. Ensure the iFrame option is selected and copy the website code.

copy iframe code

2. Paste the copied copy URL into your website.

3. For best practice, set the width to 100% in the iframe code. The height will automatically be calculated.

change width to 100%

05 Preview the Web Page

Save your webpage and preview it.

The content created in your Titan project will be displayed within the iframe.


embedded iframe

After making and publishing changes to your project, the changes will be reflected in your iframe. If the changes to your web project are not published, they will not be reflected in the iframe.

changes made to project

06 Responsive Form

By configuring your web project for different devices, the content will adjust according to the device screen size.

desktop vs mobile

07 Embed

1. Create a static variable called variable from URL. This variable in Titan passes a value from the parent site to it.
  • This is useful for tracking events or passing data to Titan to trigger an action. 
static value from URL

 2. Publish your project, and use the drop-down menu to select the embed option. Copy the code.

copy embed URL

 3. Navigate back to your webpage and insert the new copied code. Preview your web page.
  • Remember to set the width to 100%. 
embed code set to 100%
  • When you try to pass a value from the URL to your iframe, this method will not work if you have embedded your project as an iframe.
  • To do this, you need to post messages from your site to Titan, which we will cover in a separate guide.

08 Pass value through Embed URL

You can pass a value directly from the URL to your iframe using an embed script instead of an iframe script.

Pass value through URL

09 Got Feedback?

Additional Resources