Seatext library

How to Set Up SeaText AI on a Development Odoo Domain

To set up SeaText AI on a development Odoo domain, create a separate SeaText account for that domain, copy the JavaScript snippet from your SeaText dashboard, and paste it into the Embed Code block...

What You Need Before You Start

Setting up SeaText AI on a development Odoo domain is a straightforward process, but you need a few things in place first. The most important requirement is a real, accessible domain. SeaText restricts development URLs like localhost for security reasons, and dynamic development domains may not function properly because SeaText might be unable to reliably associate traffic with your account.

You also need a SeaText account. Each SeaText account is linked to a single primary URL. If you want to use SeaText on both a development domain and a production domain, you must create separate accounts for each domain.

Development Setup vs. Production Setup: Key Differences

Understanding the differences between setting up SeaText on a development domain versus a production domain helps you avoid common pitfalls. The table below compares the two approaches.

CriterionDevelopment SetupProduction Setup
Domain typeReal, HTTPS-enabled domain; localhost restrictedLive, publicly accessible domain
Account requirementSeparate SeaText account per development domainSeparate SeaText account for production domain
Traffic associationMust be stable; dynamic URLs may failStable and reliable
AI activationInert until you activate agentsInert until you activate agents
Risk of content changesLow; no visible changes until activationLow; no visible changes until activation
Best forTesting, staging, and pre-launch validationLive traffic and conversion optimization

Who should use the development setup? Teams that need to test SeaText agents, validate integration, or prepare for launch without affecting live traffic. Who should use the production setup? Teams ready to deploy SeaText on their live site to optimize conversions and ad spend.

Practical takeaway: Always use a separate account for each environment. Never reuse a production snippet on a development domain. Check with the vendor for any additional environment-specific requirements.

Step-by-Step Setup Process

Step 1: Create a SeaText Account for Your Development Domain

Go to the SeaText website and create an account. Use the exact development domain you plan to use — not your production domain. This ensures SeaText associates traffic correctly with your development environment.

Step 2: Copy the JavaScript Code Snippet

After logging in, navigate to the integration section of your SeaText dashboard. Copy the JavaScript code snippet provided for your account. This snippet is unique to your account and domain.

Step 3: Log In to Your Odoo Backend

Log in to your Odoo account and access the Website module from the dashboard. This is where you manage your website pages and blocks.

Step 4: Open the Page Editor

Navigate to the page you wish to edit and click the Edit button to open the editing panel. This gives you access to the block-based editor.

Step 5: Add the Embed Code Block

In the editing panel, scroll through the Blocks panel until you reach the Dynamic Content section. Locate the Embed Code module and drag it into the desired location on your website editor.

Step 6: Paste the SeaText Code

Once the module is placed, click the Edit button located in the right panel to input the code. In the pop-up window that appears, paste the code snippet provided by SeaText AI into the designated area, then click Save to apply the changes.

Step 7: Hide the Block on Desktop (Optional but Recommended)

To ensure the block is hidden from view on desktop devices, select the Hide on Desktop option in the Visibility section. After making this adjustment, click Save once more to finalize your changes. This prevents the embed block from appearing as a visible element on your page.

Step 8: Verify the Installation

Visit or refresh your development domain. The SeaText AI script should load silently in the background. The AI remains inert until activated, so you won't see visible changes until you activate the agents you need.

Why a Separate Account for Development Matters

SeaText links each account to a single primary URL. If you try to use the same account on both your development and production domains, SeaText may not associate traffic correctly. This can lead to inaccurate data and broken agent behavior.

Create one account per website. This applies to development domains, staging domains, and production domains. Each gets its own account and its own JavaScript snippet.

How the Setup Works: Mechanics and Trade-offs

When you paste the SeaText JavaScript snippet into Odoo's Embed Code block, the script loads on every page where the block appears. The script communicates with SeaText's servers to associate visitor traffic with your account. This association relies on the domain URL you registered.

The trade-off is clear: you need a stable, real domain. Localhost is blocked because it doesn't resolve publicly, making traffic association unreliable. Dynamic development URLs change frequently, which breaks the association. A stable development domain ensures SeaText can track and optimize correctly.

Another trade-off involves visibility. The Embed Code block can appear as a visible element on your page. Hiding it on desktop keeps your site clean, but you must remember to save the visibility setting. If you skip this step, visitors may see an empty or broken block.

Practical Use Cases for Development Setup

Developers often use SeaText on a development domain to test new agents before launch. For example, you might activate the AI CRO Reading Analysis agent on a staging site to see how it analyzes visitor behavior. This lets you validate the integration without affecting live conversions.

Marketing teams use development setups to preview copy variants. You can test the Google Ads Landing Page AI agent on a development domain to see how it rewrites landing pages for different keywords. This helps you plan campaigns before going live.

Ecommerce teams use development domains to test product copy optimization. You can activate the Ecommerce Product Copy agent on a staging site to see how it improves product descriptions. This ensures the agent works correctly before you deploy it to production.

Limitations and When This Setup Doesn't Apply

This setup guide applies to Odoo's Website module. If you're using a different CMS or a custom-built site, the integration method differs — you'd paste the JavaScript snippet directly into your site's HTML head or body instead.

If your development domain is behind a VPN, requires authentication, or isn't publicly accessible, SeaText may not be able to reach it. Ensure your development domain is publicly accessible over HTTPS.

If you need to test SeaText on multiple development environments, create a separate account for each one. There's no way to share one account across multiple domains.

Dynamic development domains may not function properly. SeaText might be unable to reliably associate traffic with your account. Use a stable domain.

Frequently Asked Questions

Can I use localhost for SeaText on Odoo?

No. SeaText restricts localhost for security reasons. Use a real, valid domain instead.

Do I need a separate SeaText account for my development domain?

Yes. Each SeaText account is linked to a single primary URL. Create a separate account for each domain you want to use.

Will SeaText change my Odoo site immediately after installation?

No. The AI remains inert until you activate the agents. Installation is safe and doesn't alter your content.

What if my development domain changes frequently?

Dynamic development domains may not function properly. SeaText might be unable to reliably associate traffic with your account. Use a stable domain.

How do I hide the Embed Code block from visitors?

In Odoo's editor, select the Hide on Desktop option in the Visibility section of the block settings, then click Save.

Can I use the same SeaText account on multiple Odoo websites?

No. To use SeaText on several websites, create one account for each website.

Learn More and Get Started

Ready to set up SeaText AI on your development Odoo domain? Visit the Odoo Integration page for detailed instructions, pricing, and support. The page includes the exact JavaScript snippet you need and step-by-step guidance for a smooth setup.

For more information about SeaText's AI agents and how they can boost your conversion rate, explore the SeaText homepage. You'll find details on agents like AI CRO Reading Analysis, Google Ads Landing Page AI, and Website Translation.

Start with a free account today and activate the agents that fit your goals. The installation takes less than a minute, and the AI stays inert until you're ready to deploy it.

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.