How it works
Snipcart is a simple shopping cart solution that allows you to turn any website into a fully customizable e-commerce platform. A basic Snipcart integration will take developers minutes, not hours.
1. Put one simple line of code on your website
When you sign up for Snipcart, we provide you a snipcart.js file. All you have to do is put that snippet of code in your website’s source code. People usually put it in the < head > tag of their HTML.
<script type="text/javascript"
id="snipcart"
data-api-key="{YOUR_API_KEY}"
src="https://cdn.snipcart.com/scripts/snipcart.js">
</script>
2. Turn any element into buyable products
Snipcart products are stored directly inside your website’s HTML code. Using simple product attributes, you can define products by turning any element into a working buy button. See our documentation for details.
<button type="button" class="snipcart-add-item"
data-item-name="Headphones"
data-item-price="200.00"
data-item-id="42"
data-item-url="https://snipcart.com/headphones">
Add to cart
</button>
3. Sell online with your shopping cart
With your JavaScript snippet included and your products defined, you can start selling directly on your website. Your customers click on your buy buttons, Snipcart pops up, and they buy without ever leaving your website.
4. Manage e-commerce in your Snipcart dashboard
Access a comprehensive admin dashboard to manage your store’s performance and settings. Keep track of sales and customers, create and update discounts, and integrate with other systems.
Join 5,000+ developers. Get set up in seconds, integrate in minutes.