Seatext library

How to Install SeaText AI on a Custom-Coded Website: Step-by-Step Guide

To install SeaText AI on a custom-coded website, insert the provided JavaScript snippet just before the closing </body> tag. After creating a SEATEXT AI account, copy the code, paste it into your site's HTML...

What You Need Before You Start

Installing SeaText AI on a custom-coded site requires a few things in place:

  • A SEATEXT AI account – You can create one for free on the pricing page.
  • Access to your website’s HTML – You need to be able to edit the source code, typically via an FTP client, a code editor, or your hosting control panel.
  • A valid, real domain – Development URLs like localhost or dynamic staging domains are not supported. Use a production or real test domain.
  • One account per domain – If you plan to install on multiple sites, you must create separate accounts for each.
  • For WPEngine users – Install the WP Engine plugin to add custom JavaScript if you cannot edit the theme files directly.

Step-by-Step Installation Process

Step 1: Create a SEATEXT AI Account

Go to the SEATEXT AI homepage and sign up. You will need a valid email and a primary URL for your website. Each account is tied to a single domain, so choose the exact URL you will use. If you have multiple domains, create a separate account for each.

Step 2: Copy the JavaScript Code

After logging in, navigate to the General Integration section. There you will find a unique JavaScript snippet. Copy it exactly as shown. Do not modify the code. The snippet contains your account ID and settings.

Step 3: Insert the Code into Your Website

Open your website’s HTML file (or template file if you use a CMS). Find the closing </body> tag. Paste the copied JavaScript snippet just before that tag. Save the file. If you have multiple pages, ensure the snippet is included on every page where you want SeaText to work. Many sites use a common footer template – insert it there once.

Step 4: Deploy the Changes

Upload the edited file to your server or publish the changes through your hosting platform. The code is secure and remains inactive until you activate it, so no content will change yet.

Step 5: Visit Your Website Multiple Times

Open your site in a browser. Visit it several times, and stay on the page for at least 40 seconds each time. This step links the AI to your account and confirms the script is loaded. A quick page load will not trigger the connection.

Step 6: Wait for Confirmation

Allow up to 5 minutes. Then check your SEATEXT AI dashboard. You should see your website name displayed next to the SEATEXT logo at the top of the page. If it does not appear after 10 minutes, contact support.

Step 7: Activate the AI Agents

Once your site is connected, go to the Main AI Hub. There you can activate the specific AI agents you need (e.g., CRO Optimizer, Google Ads Agent, Translation Agent). Use the Configuration panel to adjust parameters. You can also edit variants manually later.

How the Installation Works: Mechanics and Why It Matters

The JavaScript snippet is a lightweight script that loads when a visitor opens your page. It does not change your site’s appearance until you activate an agent. The script communicates with SeaText servers to match your account and track visits. This is why you need to visit your site after installation – the script must see a real visitor from your account’s domain to link the two.

Why does this matter? Without the activation step, the AI remains inert. Your site stays exactly as it is. The 40-second dwell time ensures the script has enough time to load and send data. The 5-minute wait allows the server to process the visit and update the dashboard.

This process is designed to be secure. The script is tied to your account. No one else can use it. And it only activates when you choose to turn on agents from the dashboard.

How to Verify the Installation

After completing the steps, confirm that the integration works:

  • Check your SEATEXT dashboard for the green connection indicator next to your domain.
  • Open your website’s browser console (F12) and look for any errors from the SeaText script.
  • Trigger a test visit by typing a keyword that matches an ad campaign – the page should adjust in real time if you have activated the Google Ads Agent.

If you do not see the domain name in the dashboard after 10 minutes, the code may not be placed correctly. Recheck the insertion point and ensure the file is saved. Clear your browser cache and try again. Contact support if it still fails.

Key Facts About SeaText AI Installation

FactDetails
Account requirementYou need a SEATEXT AI account for each domain.
Code placementInsert the JavaScript snippet just before the closing </body> tag.
Activation triggerVisit your site multiple times, staying at least 40 seconds per visit.
Confirmation timeUp to 5 minutes to see your domain in the dashboard.
RestrictionsNo localhost or dynamic development domains. Each account is linked to one primary URL.
Multiple websitesCreate a separate account for each additional website.
WPEngine usersUse the WP Engine plugin to add custom JavaScript if you cannot edit the theme files.

Common Mistakes and How to Avoid Them

  • Using the same account for multiple domains – Each SEATEXT account is tied to one primary URL. If you need to install on more than one site, create separate accounts.
  • Placing the code in the wrong location – The snippet must go before the closing </body> tag. Placing it in the <head> or elsewhere may break functionality.
  • Not waiting long enough – The activation process requires you to visit the site and stay for at least 40 seconds. A quick page load will not trigger the connection.
  • Using a development URL – localhost or dynamic staging domains are blocked. Use a real domain or a static test domain.
  • Forgetting to refresh after code insertion – After pasting the code, you must refresh the page to load the script. Also, clear any server cache if applicable.
  • Not including the snippet on all pages – If you want SeaText to work on every page, the snippet must be present on each page. Use a common template to avoid missing pages.

Limitations and When This Advice Does Not Apply

This installation method works only for websites where you have direct access to the HTML source code. If you use a platform like WPEngine, you may need a plugin to add custom JavaScript (the source pack recommends the WP Engine plugin). For other CMS or website builders, refer to their specific integration guides.

SeaText AI does not support dynamic development domains (e.g., those generated by Heroku, Netlify previews, or localhost). If you are in early development, use a subdomain that is publicly accessible.

Each account can manage only one primary URL. If you have multiple domains, you must create a separate account for each. This is a security and data integrity measure.

Another limitation: the script relies on JavaScript. If your site has a strict Content Security Policy (CSP) that blocks external scripts, you may need to whitelist the SeaText domain. Check with your developer or hosting provider.

Finally, the installation steps assume you have basic HTML editing skills. If you are not comfortable editing code, ask a developer for help or use a plugin-based approach.

Frequently Asked Questions

Do I need technical skills to install SeaText AI?

Basic HTML editing ability is enough. You need to know where the </body> tag is in your site’s template. Most developers or site owners can do this in under a minute.

How long does activation take?

After inserting the code, you must visit your site multiple times and stay for at least 40 seconds. Then wait up to 5 minutes for the dashboard to show the connection. In rare cases, it may take up to 10 minutes.

Can I use SeaText AI on a staging site?

Only if the staging site uses a public, real domain. Dynamic or localhost domains are not allowed. If you need to test, use a subdomain like test.yourdomain.com.

What if I don’t see my domain in the dashboard?

First, double-check that the code is placed correctly just before the closing </body> tag. Then clear your browser cache and try again. If it still doesn’t appear after 10 minutes, contact SEATEXT support.

Can I install SeaText AI on multiple pages?

Yes. The JavaScript snippet should be included on every page where you want SeaText to work. If you have a common template, insert it there once.

Is the installation safe?

Yes. The script is inert until you activate it from your dashboard. It does not change your content automatically. The installation process is secure and does not affect your site’s performance.

What happens after installation?

Once the connection is confirmed, you can go to the Main AI Hub to activate the agents you need. Each agent has its own configuration – for example, the Google Ads Agent rewrites landing pages based on keywords, and the CRO Optimizer runs A/B tests on headlines and CTAs. You can also edit the generated variants manually.

Can I use the same account for a development and production domain?

No. Each account is linked to one primary URL. Create a separate account for each domain. This is a security measure.

What if my site uses a CMS like WordPress?

This guide is for custom-coded sites. If you use WordPress, use a plugin like Insert Headers and Footers or the built-in theme editor. For other CMS, refer to their specific integration guides.

Further reading and comparison sources

These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.

Further reading and comparison sources

These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.

Learn more

Visit the website for more information.