MARCO Current integration guide

One loader. A minimal surface. Your website stays yours.

Add MARCO once, choose what visitors see, and keep the experience inside your existing navigation and checkout. No floating launcher is required.

Connect · current

Choose the surface that fits your site.

No launcher

Invisible by default

The MARCO runtime recognises returning identity and can surface a relevant Signal or Quest without adding a permanent control.

<script
  src="https://marco.melega.ai/widgets/marco.js"
  data-marco-site="YOUR_PUBLIC_SITE_KEY"
  data-marco-connect="true"
  data-marco-launcher="false"
  defer
></script>
Visible Connect

Minimal and anchored

Add one anchor in your existing header. The same loader mounts MARCO's compact Connect control there instead of creating a separate site-wide control.

<div data-marco-connect-anchor></div>
<script
  src="https://marco.melega.ai/widgets/marco.js"
  data-marco-site="YOUR_PUBLIC_SITE_KEY"
  data-marco-connect="true"
  data-marco-launcher="true"
  defer
></script>

Loader 2.10.2. It waits for user action before opening a wallet. Signals and Quests appear only when the registered application and visitor are eligible.

What you configure

Public on the page. Private on the server.

Public site key
Identifies the registered website. Safe in page code.
Connect mode
Choose no launcher or place the compact control in your own header.
Application settings
Name, website, theme and placement come from Business setup.
Secrets
Never put payment credentials or callback signing keys in the browser.
Pay · current

Create. Redirect. Return.

01

Create

Your server creates a signed MARCO checkout session.

02

Redirect

Your Pay with MARCO control opens its approval URL.

03

Return

MARCO returns the customer automatically after payment.

The merchant page stays simple.

Your server creates one signed checkout session for the selected product or cart. MARCO owns the payment page and returns the customer automatically.

<a data-marco-pay-product="YOUR_PUBLIC_PRODUCT_REF"
   href="{{ approval_url_from_your_server }}">
  Pay with MARCO
</a>
Go live

A short, verifiable path.

  1. 01
    Create your application
  2. 02
    Copy the current installation
  3. 03
    Run one test
  4. 04
    Choose Go live