An Instagram widget is a piece of code that connects your website to Instagram. It does one of three jobs: it shows your posts on a page, it gives visitors a button that opens an Instagram message to you, or it puts a chat box on your site whose conversations you answer alongside Instagram messages. Which one you need depends on whether you want to show content or start conversations.
This guide covers all three, so you can pick the one that fits and avoid adding code that does not help your customers.
Three things people mean by "Instagram widget"
| Goal | What you add | Who it is for |
|---|---|---|
| Show your posts | An embed code, or a third-party feed widget | Visitors who want social proof and a look at your work |
| Let visitors DM you on Instagram | A button linked to an ig.me address | Businesses whose customers already use Instagram |
| Chat with visitors on your site | A web chat widget connected to your inbox | Businesses that want answers on the page, at any hour |
Option 1: show your posts
Embed a single post or reel
Instagram builds this in. On a post or reel from a public account, open it in a desktop or mobile browser, click the three dots, choose Embed and copy the HTML. By default the embed includes the caption, and a checkbox lets you leave it out. Paste the code into your page or a custom HTML block. Embedded posts resize to fit their container, so they work on desktop and mobile.
There are limits listed in Instagram's Help Center and Meta's developer documentation: posts from private accounts are not supported, stories cannot be embedded, and public accounts can switch off the setting that lets sites embed their posts and profile. Meta also provides an oEmbed endpoint for developers who want to fetch the embed code from software, which accepts links to posts, reels and profiles.
A feed of your latest posts
A grid that updates by itself needs a feed widget from a third party, usually a website plugin or a small script. They connect to your account, pull recent posts and display them. Before you choose one:
Check what access it asks for. A feed needs to read your posts, and nothing more.
Look at what it costs after the free tier, and what the branding says on the free one.
Test the page speed with and without it. Images and scripts add weight.
Make sure it links each post to the original, so a visitor can follow you.
A feed helps a website that sells visual products, such as food, fashion, interiors or events. It helps less on a page where the visitor wants a price and a way to buy.
Option 2: a DM button with an ig.me link
An ig.me link sends a person to a conversation with your Instagram account. Meta documents the format: https://ig.me/m/<username>, where the username is your Instagram handle. Instagram opens a new conversation or the existing one, depending on whether they have messaged you before. You can add ?ref= followed by a value to tell links apart, though the reference parameter has requirements listed in Meta's documentation. The link is not supported on Instagram Web, so a visitor on a desktop browser without the app may not get a chat window.
How to use it:
Make a button on your site with the label "Message us on Instagram".
Link it to your ig.me address.
Place it where a customer has a question: product pages, the contact page, order confirmations.
Test it from your phone, then from a desktop.
Our guide to the Instagram direct message link covers the format and where to place it in detail. A button is the lightest way to add Instagram messaging to a page. It sends the visitor away from your site, and it only reaches people who use Instagram.
Option 3: a chat widget on your site
Instagram does not offer a chat box that lives on your own page. Businesses that want chat on the page use a web chat widget from a helpdesk, which they add with a script tag. Done well, the web chat and Instagram share a team: both sets of conversations arrive in one inbox, with one set of answers, and a customer who contacts you on either gets the same quality of reply.
When you compare web chat widgets, check:
Install: one script, and a list of the domains allowed to show it.
Answers: whether it can answer from your own pages and documents, and whether a person can take over.
Rich replies: product cards, booking times and buttons, which are faster than plain text.
Where conversations land: the same inbox as Instagram, WhatsApp and email, or a separate tool.
Events: whether the chat reports to your website and analytics when a chat starts.
Which one should you choose
You sell visual products and want proof on the page: embed posts or use a feed widget.
Your customers already message you on Instagram: add an ig.me button.
You want to answer questions while the visitor is on the page, including at night: add a web chat widget.
You want all three: a feed on the home page, a chat widget on every page, and the ig.me button in your footer.
Where to place each widget
| Page | Best widget | Reason |
|---|---|---|
| Home page | Feed or embedded posts | Shows the brand is active and gives a sense of the product |
| Product or service page | Chat widget | The visitor has a question about this item right now |
| Contact page | ig.me button beside WhatsApp and email | Lets people pick the channel they like |
| Order confirmation page and email | ig.me or WhatsApp link | Easy way to ask about delivery |
| Blog posts | Embedded post | Adds an example or a customer photo to an article |
Checklist before you publish
Test every button and widget on a phone and a desktop.
Check that each widget loads without blocking the page: scroll the page on a slow connection.
Make sure you have the right to show the posts you embed. Your own posts are fine. Posts from other accounts belong to their owners.
Decide who answers the messages the widget creates, and when. A button that leads to an unanswered inbox is worse than no button.
Add a first-reply target and an out-of-hours message to whichever inbox the widget feeds.
Check your privacy notice mentions the chat, if the widget collects names, emails or phone numbers.
Instagram and web chat with Volty
Volty's web chat is a widget you add to your website or web app with one script tag, and you list the websites allowed to show it. The chat can answer with cards instead of plain text, such as a Product carousel, Time slots to book, Reply buttons and a Rating. It tells your website when a visitor opens it, starts a chat, sends a message or confirms a phone or email, and can send the same events to Google Analytics.
Instagram connects through your Facebook Page, and web chat conversations land in the same inbox as Instagram, WhatsApp, Messenger and email, answered by the same AI agent from the same knowledge. A visitor who asks on your site and a customer who asks on Instagram reach one team, and a handover to a person happens in the same chat.
Volty's web chat is a widget for conversations. It is not a feed widget, so if you want your posts on a page, use Instagram's embed code or a feed plugin beside it. To see the chat, go to Volty's Website and App AI. Every plan starts with a 7-day free trial, and the pricing page lists current prices, which can change.
Frequently asked questions
What is an Instagram widget?
It is a piece of code you put on a website that connects the page to Instagram. Most often it means a feed of your posts, but it can also mean a button that opens an Instagram direct message, or a chat widget whose conversations are handled alongside your Instagram messages.
How do I embed an Instagram post on my website?
Open the post in a desktop or mobile browser, click the three dots, choose Embed and copy the code into your page. Instagram's Help Center describes this for posts and reels from public accounts, with an option to leave out the caption.
Does Instagram have an official chat widget for websites?
No. Instagram provides embed code for posts and profiles, and ig.me links that open a conversation with your account, but no chat box that lives on your page. Businesses use an ig.me link or a separate web chat tool.
Can I show my whole Instagram feed on my site for free?
Embedding single posts is free and built in. A scrolling grid of your latest posts usually needs a third-party feed widget, and many of them have free tiers with limits. Check what data they ask you to connect.
Will an Instagram feed widget slow my website down?
It can. Embeds load scripts and images from Instagram or from the widget provider. Load them below the fold, limit the number of posts, and test page speed before and after.










