Embed AI Share Buttons on Your Website
01
Create a AI Share Buttons widget for your website on Common Ninja
First, create a AI Share Buttons widget on Common Ninja.
On the widgets catalog, find the AI Share Buttons and enter the Editor.
02
Save the AI Share Buttons widget
When you're done creating the AI Share Buttons widget, click on the Save Changes button at the right top corner of the editor.
If you don't have an account on Common Ninja, you'll have to register first.
03
Copy the AI Share Buttons Embed Code
When you're ready to add the AI Share Buttons widget to your website, click the Add To Website button at the top bar of the Editor.
On the window that opens, click the Copy Icon to copy the widget embed code. In the next steps, you will paste this code into your website.
04
Paste the code to your Platform website’s HTML field.
Next, go to your Platform website editor and find the HTML field. It is most likely in the form of an HTML/Code widget or module which you can find on the Platform’s editor. Add it to your page, and paste the AI Share Buttons Embed Code you’ve copied before to the HTML field.
Save and update, and that’s it, you should have Common Ninja’s AI Share Buttons widget on your Platform website.
05
Alternative Method 1: Through the HTML option in the text’s editing area.
If you can't find the HTML/Code widget or module, there's another way to put Common Ninja’s AI Share Buttons widget on your Platform widget. You can just add the code to a special HTML section in the text editor.
06
Alternative Method 2: Add it directly to your Platform website’s HTML code.
If you're having trouble finding a widget or a special part in your text editor where you can add the Embed Code, you can try a different way to add the AI Share Buttons widget to your Platform website. You can do this by putting it straight into your Platform website's HTML code.
Why Use This Widget
AI Share Buttons give your visitors a one-click way to bring your content into the AI assistant they already use. Add buttons for ChatGPT, Claude, Perplexity, Grok, and Google AI Mode, and each click opens that assistant in a new tab with a prompt about your page already filled in. You write the prompt once, for example "Summarize the key points of this page", and the widget adds the page link and title automatically through the {url} and {title} placeholders. Share the page the widget sits on, or point every button at one fixed link such as a featured guide or product page. Arrange the buttons in a horizontal row, a vertical stack, or a grid, choose outline, filled, soft, or minimal buttons in pill, rounded, square, or circle shapes, and keep each assistant's brand colors or switch to your own palette. Add a label such as "Summarize with:", show or hide the button text for a compact icon row, and add entrance, hover, and attention effects. Everything is set up in a visual editor and embedded on any website without code.
This tutorial was written by the Common Ninja product team, creators of interactive, no-code widgets for websites. Common Ninja helps over 500,000 users build engaging online experiences without coding.