# What is embed code?

> Embed code is a short snippet you paste into a web page to show a tool, such as a chatbot, there. What it does and who should paste it in.

Source: https://learn.ynteractive.com/content/glossary/embed-code · Updated 2026-10-11 · Free from Stepthrough (https://learn.ynteractive.com)

[Web apps](https://learn.ynteractive.com/content/glossary#topic-web-apps) · [AI glossary](https://learn.ynteractive.com/content/glossary)

Quick answer

Embed code is a short snippet of code that you copy from a tool and paste into your website, so the tool appears on your page. A chat assistant, for example, can then show up in the corner of the page.

Last updated October 11, 2026

Updated October 11, 2026 · By [Robert Breen](https://learn.ynteractive.com/content/about)

## Why it matters for a small business

Many tools live on someone else's website, but your customers are on yours. Embed code bridges that gap. You copy the snippet from the tool, hand it to whoever manages your site, and the tool shows up where your visitors are.

Pasting it in is usually a small job, but it belongs to whoever looks after the site, because changes to a live page affect everyone. Many tools also offer a direct link as an alternative. If you only need to share the tool, not place it in a page, a link is simpler.

A practical way to handle it: write two lines to the person who manages the site. Say what the tool is, for example a chat assistant that answers office-hours questions, and say where on the site it should appear. Ask them to try it on a test page first. This keeps a small change from turning into a surprise on your busiest page, and it gives you a record of who added what and when.

## In a real lesson: Jotform AI Agents: An Agent That Answers Client Questions

In the [Jotform AI Agents lesson](https://learn.ynteractive.com/content/jotform-ai-agent-client-questions), you build a chat agent for Hartley Law, a made-up small law office. At the end you click **PUBLISH**. The **CHATBOT** option adds the chat to a website.

Under **Embed Code**, you click **Copy Code** and send it to whoever manages the site. The other options on the left, like **STANDALONE**, give you a direct link instead.

[Try this lesson free](https://learn.ynteractive.com/modules/jotform-ai-agent-questions) or [read the step-by-step guide](https://learn.ynteractive.com/content/jotform-ai-agent-client-questions).

## Common confusions

### Embed code vs a link

A link sends people to the tool's own page. Embed code puts the tool inside your page.

### Copying vs publishing

Copying the code does nothing public until someone pastes it into the live page.

## Tips

- Send the code, with a note on what it does, to your web manager.
- Test it on a draft or staging page first if you can.
- Check the agent's answers in Test Mode before the code goes live.

## Related terms

[Test Mode](https://learn.ynteractive.com/content/glossary/chatbot-test-mode) · [Chatbot](https://learn.ynteractive.com/content/glossary/chatbot) · [AI agent](https://learn.ynteractive.com/content/glossary/ai-agent) · [Deployment (publishing a web app)](https://learn.ynteractive.com/content/glossary/web-app-deployment)

## More Web apps terms

[Form validation](https://learn.ynteractive.com/content/glossary/form-validation) · [Frontend and backend](https://learn.ynteractive.com/content/glossary/frontend-vs-backend) · [HTTP method (GET vs POST)](https://learn.ynteractive.com/content/glossary/http-method) · [HTTP status code](https://learn.ynteractive.com/content/glossary/http-status-code)

## Where you use it: free lessons

- [Jotform AI Agents: An Agent That Answers Client Questions](https://learn.ynteractive.com/content/jotform-ai-agent-client-questions) (Jotform, 7 min)

## Prompt templates that use it

[Agent knowledge-base answer prompt](https://learn.ynteractive.com/content/prompts/ai-agent-knowledge-answer-prompt)

## Frequently asked questions

**Do I need to be a developer to use embed code?**

Copying it takes one click. Pasting it into a page is best done by whoever manages the website.

**What if I don't have a website?**

Use the STANDALONE option in Jotform's Publish screen, which gives you a direct link.

**Where is the embed code in Jotform?**

In PUBLISH, under CHATBOT, click Copy Code beneath Embed Code.

[All AI glossary terms, A to Z](https://learn.ynteractive.com/content/glossary) · [Free prompt templates](https://learn.ynteractive.com/content/prompts)
