Add a shop to your Replit app

Replit Agent can build and deploy an app from a sentence. Getting it to sell things safely is a different job, because payments want secrets kept server side, webhooks verified and orders stored. AddTheShop hands you all of that as a snippet and an API, so the Replit app stays simple.

Install

Tell Replit Agent:

> Add the shop from addtheshop.com to this app. Read https://addtheshop.com/docs/agent.md first. My store key is pk_ats_YOUR_STORE_KEY. Put the product grid on /shop.

For a static or Flask-rendered page it is two lines of HTML:

<script src="https://addtheshop.com/shop.js" data-store="pk_ats_YOUR_STORE_KEY" async></script>
<div id="addtheshop"></div>

For a React front end, use the component in our agent guide.

No secrets in your Repl

Your Stripe account connects to AddTheShop directly through Stripe Connect. The only thing in your Replit code is a public store key, which is safe to show.

Orders

Every paid checkout becomes an order in your AddTheShop dashboard and an email to you, with the items, totals and the buyer's shipping address. Stock goes down automatically.

Let the agent run it

Connect AddTheShop as an MCP server and Replit Agent, Claude or ChatGPT can add products and check orders for you.

Questions

Do I need a database for orders?

No. Orders are stored by AddTheShop and shown in your dashboard, the merchant API and the MCP server.

Does it work on the free Replit plan?

Yes. The snippet is plain JavaScript loaded from our domain.

Can I sell digital goods?

Today AddTheShop is built for physical products with a price each. Digital delivery is on the list; tell us if you need it.

Add the shop to your Replit site.

Products, cart and Stripe checkout from one script tag. Free to start, 2% per sale. Your AI installs it and runs it.

Add the shop

See the live demo

Also works with

Compare