The fastest way to add the Text website widget to your site is to paste a single HTML snippet — no coding experience needed. If your site runs on a JavaScript framework, uses Google Tag Manager, or is built on Shopify, you can install the widget through those instead. Once installed, the website widget appears on your site — ready to engage visitors, automate conversations, and provide instant support.
Which installation method should I use?
Not sure which option fits your site? Here's a quick guide:
HTML snippet (recommended) — the quickest option. Works on any website, doesn't require a JavaScript framework, and no developer is needed for most sites.
Google Tag Manager (GTM) — best if you already manage scripts through GTM.
Shopify — best if your store runs on Shopify; installs through the Shopify admin panel.
WordPress or Webflow — dedicated guides are available if your site runs on either platform.
Framework SDK (React, Vue, or Angular) — best if your site is built with one of these frameworks and you want the widget integrated directly into your app's codebase.
Adding the widget manually using an HTML snippet
1. Go to Settings → Website widgets
This is where you manage all your website widgets.
2. Enter your website URL
Even before you enter a URL, you'll see quick-access buttons for HTML, frameworks, and other install options — so you can preview the code snippets right away, without needing a live website yet.
3. Select </> Embed code
Click Continue to connect the widget to text.com. The HTML tab is selected by default — since most sites use it, you can copy the snippet immediately without switching tabs.
4. Copy the installation code from the HTML tab
A unique JavaScript snippet will be generated. This script loads and initializes the website widget on your site. Click the snippet to copy it to your clipboard.
Don't want to install it yourself? Click Share setup link to send the code snippet straight to a developer or technical contact — they can finish the install without needing access to your Text account.
5. Paste the code into your website's HTML
Open your site's source code and paste the snippet just before the closing </body> tag. Make sure to save the changes and reload your page.
If you use a CMS or template system, you may find a global footer or layout file where this code can be added once to cover every page on your site.
6. Check the widget status
Your widget should already be active. If the status doesn't update, visit your website and interact with the widget to generate activity. Once detected, the status will change to Connected.
Use the HTML snippet if: you want the fastest setup, don't need deep integration with a JS framework, or you're not sure which method to pick — this is the default and works on virtually any website.
If you prefer more control over where the website widget appears, you can also install it on a single page instead of your entire website.
Installing the website widget on multiple websites
You can connect the website widget to multiple websites—just repeat the installation process for each site.
To add a new website, click + New website widget in step 2 and follow the installation steps. Each new widget has its own unique code snippet, so make sure you use the correct code for each website.
You can also click the three dots next to an existing widget to copy its code and use it on another website.
Installing the widget in framework-based applications
Prefer to skip the HTML snippet and integrate the widget directly into your app's codebase? You can install it using our framework-specific SDK packages instead.
SDK packages are available for the following frameworks:
React
Vue
Angular
This method lets you integrate the widget directly into your application code rather than injecting it via HTML or Google Tag Manager.
Use the framework SDK installation if: your website is built with React, Vue, or Angular and you want to integrate the widget directly into your application's codebase.
For advanced configuration or additional features, click Read guide in the framework SDK tab to access the full SDK documentation.

Where to find your widgets and installation code
Once you've installed one or more widgets, you'll find them listed in Settings → Website widgets section. For each connected site, you'll see:
Website URL
Who added the website
Website widget connection date
Installation status (Connected or Not connected)
This section serves as your primary control panel for managing website connections. Click three dots next to any widget to:
Visit the website where the widget is added
Customize your website widget
Get the installation code
Frequently asked questions
No, not for the HTML snippet, Shopify, WordPress, or Webflow installs — each one just needs you to paste a snippet or connect through an admin panel. Framework SDK installation is the exception: it assumes basic familiarity with React, Vue, or Angular, since you're adding a package into your own codebase.
The HTML snippet is the fastest option. Paste one script tag before the closing </body> tag, save, and reload the page — there's no build step and no framework required. Most sites can be up and running in a couple of minutes, without needing any developer help to finish the install.
Yes. Click Share setup link on the Embed code screen to send the installation snippet straight to a developer or technical contact. They can finish the install without needing access to your Text account at all, which is useful if your team doesn't normally touch the website's code directly.
What's next?
Now that your website widget is live and collecting visitor conversations, make sure it's set up to meet applicable privacy and consent requirements:
Prepare your website widget for GDPR — Set up consent and data handling if you have EU visitors.
Get your website widget ready for CIPA — Add the recording disclosures California's Invasion of Privacy Act requires.
Get your website widget ready for US wiretap laws — Review state-level recording-consent rules that can apply to chat.
Get ready for US state privacy laws — Check broader state privacy requirements beyond wiretap statutes.