# Integration

> How AndOr fits into your Shopify store, your theme, your admin tools and your own code.

Source: https://backtrackhq.com/docs/enterprise/integration/

AndOr is built on Shopify's own building blocks. It adds no new
checkout, no new storefront and no code you have to maintain.

## Built on Shopify

- **Checkout:** discounts and checkout rules run inside Shopify
  checkout, through Shopify Functions. That is the same way Shopify's
  own discounts run.
- **Storefront:** widgets are theme app blocks and one app embed. You
  place them in the theme editor. No theme code edits are needed.
- **Billing:** charges appear on your Shopify bill.

See [What AndOr does](https://backtrackhq.com/docs/get-started/overview/).

## Your theme

- Horizon and Dawn work out of the box, cart drawer included.
- Other Online Store 2.0 themes work wherever a section accepts app
  blocks. Where it doesn't, paste a one-line tag.
- Vintage themes get the app embed and one-line tags, not blocks, and
  no cart drawer parts. See [Vintage themes](https://backtrackhq.com/docs/themes/vintage/).
- The cart drawer parts need a theme that sends Shopify's storefront
  cart events. See [Theme requirements](https://backtrackhq.com/docs/get-started/theme-requirements/).

See [Theme and app compatibility](https://backtrackhq.com/docs/resources/compatibility/).

## Your own code

Theme developers and agencies can build on AndOr's widgets:

- Events when a widget changes, such as a new tier or a reached goal.
- Data attributes that describe each widget's state.
- Styling tokens you can override.
- A small JavaScript API, and product card recipes.

See [Theme developers](https://backtrackhq.com/docs/developers/overview/).

## Your admin tools

- **Sidekick:** ask Shopify's assistant to find, explain or draft
  checkout and discount rules. See [Sidekick](https://backtrackhq.com/docs/ai/sidekick/).
- **Import and export:** copy rules to another store, back them up or
  share a setup with your team. See
  [Import and export](https://backtrackhq.com/docs/building-rules/import-and-export/).
- **Discounts you already have:** widgets can show discounts you made
  in Shopify. See
  [Show discounts you already have](https://backtrackhq.com/docs/widgets/show-existing-discounts/).

## Need more?

Running several stores, or need something not listed here?
[Contact us](https://backtrackhq.com/docs/help/contact/).
