/

Get started

Test and live mode

Two sets of keys, two logs, one codebase.

2 min read

Every account has a test mode and a live mode. They share nothing: apps, endpoints, events and logs created in one never show up in the other.


Test mode

Live mode

Key prefix

sk_test_

sk_live_

Deliveries

Sent to real URLs, marked with a Sluice-Test: true header

Sent to real URLs

Retries

3 attempts over 10 minutes

8 attempts over 36 hours

Billing

Free, up to 10,000 events a month

Counted toward your plan

Switching

Your code does not change. Read the key from an environment variable and set a different value in each environment.

SLUICE_KEY=sk_live_... node
SLUICE_KEY=sk_live_... node
SLUICE_KEY=sk_live_... node

Test mode still sends real HTTP requests. Point test endpoints at URLs you control.

Something missing or wrong on this page? Tell us at support@sluicehq.dev and we will fix it.

Create a free website with Framer, the website builder loved by startups, designers and agencies.