Demo data for sales demos where the prospect gets a login

A sales engineer driving a demo stays on the rehearsed path. A prospect with their own login can open screens nobody rehearsed, read free text notes and click buttons that send email or charge a card. Build the data for that visit from a seeded script with pinned dependency and runtime versions, using values reserved for testing. Catch email inside the environment, send card charges to the payment provider's sandbox with test keys, and return the stack to its starting state after each prospect.

Seeded scriptReserved test valuesEmail and paymentsMail held, charges in test mode
Records use reserved values; mail stays in the stack, charges in test mode

Where demo data comes from

This guide compares three ways to fill a demo database. Each leaves something different for a prospect with a login to find.

SourceWhat a prospect with a login can findUpkeep
Copy of production with maskingWhatever the masking rules missed, such as free text notes, attachments or one real company's order history under a changed nameRerun the masking and check it again after every schema change
Accounts built by hand in the applicationA thin history, with every record created in the same week and no overdue invoice or cancelled jobSomeone rebuilds them after each reset or upgrade
Generated by a seeded scriptRecords that never belonged to anyone, when the script sets contact and identity fields from reserved valuesThe script changes in the same merge request as the schema

Masking applied when a query runs leaves the original values in the database. Microsoft's documentation for dynamic data masking in SQL Server says the stored data isn't changed, and that the feature shouldn't be used alone to fully secure sensitive data from users who run ad hoc queries. Its example user narrows a range filter on a masked salary column until the real value is clear. If a demo login can reach a report builder that filters on a masked column, the same narrowing could work through the application.

Test values that reach no real person

A generated name will sometimes match a living person's name. The script still controls the email addresses, IP addresses, numbers and card values those records carry. Each of those fields has published values that are either reserved for examples and testing or listed by the issuer as never assigned.

FieldWhat to generateDocumented by
Email domainexample.com, example.net, example.org, or a name under .testRFC 2606 reserves .test and lists the three example domains IANA holds. IANA says the example domains are not available for registration or transfer
US phone number555-0100 through 555-0199 behind a geographic area code, never a toll free code such as 800NANPA, which keeps these fictitious numbers out of service and reserved for entertainment and advertising. ATIS-0300115 describes the 555 line numbers as a resource within geographic area codes
Card on StripeTest PaymentMethods such as pm_card_visa in the seed script, and 4242 4242 4242 4242 when someone types a card into a payment form, always with test API keysStripe's testing page, which recommends PaymentMethods over card numbers in code that runs on a server and says to keep real card details out of testing
Social Security numberFirst three digits 000 or 666SSA's operations manual, which lists both as signs of a number it never assigned
IP address in audit logs192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24RFC 5737, which provides the three blocks for documentation

None of those sources covers company names or street addresses. Search the web for each invented business name before it goes into the script, and build street addresses from invented street names checked the same way. Keep a denylist of production customer names and domains, and have the build fail when the generated file contains one.

Seed the generator and pin its versions

Take a hypothetical field service product, Wrenfield Dispatch, sold to heating and air contractors. Its demo tenant is an invented contractor, Calder Bend Mechanical, with 14 technicians and 380 customers. Both names and both counts are made up for this example.

Faker's documentation says a seed produces the same result when the same methods are called with the same version of Faker. It also warns that results can change between patch versions, and it advises pinning Faker down to the patch number when tests depend on exact output. Call Faker.seed() with a fixed value in the generation script and pin the exact Faker version in its requirements file and the Python version in the build image. With the same script and the same pinned versions, the hypothetical tenant gets the same 380 customers on every build, and a rep who rehearsed on Tuesday finds the same accounts on Thursday. Adding a generated column changes the sequence of calls, which can reshuffle every record that follows it. Faker also documents seed_instance(), which gives a generator its own seeded random instance. Seeding a separate generator for each record, for example with the customer number, stops a new column from reshuffling other customers. With a generator seeded for each record, generate the new column after that record's existing fields. Under one shared seed, give the new column its own seeded generator instead, so existing values stay the same.

Faker's standard providers return realistic values, and the SSN in its documentation's sample profile begins with 628. That prefix is none of the markers SSA lists for numbers it never assigned. Set the email, phone, card, SSN and IP fields from the reserved values in the table instead of calling those providers.

Phone numbers need extra care. The reserved block holds 100 line numbers, so 380 customers under one area code have to share them. If the application requires a unique phone number per customer, spread the customers across four or more geographic area codes. Each area code carries the same 100 reserved line numbers, so four of them give 400 unique numbers for 380 customers.

Store dates as offsets from the load date. An invoice generated as due 12 days before the load is overdue on every build. A fixed calendar date keeps aging, so the same invoice shows as a year overdue in a demo run a year later.

Generate the records a prospect goes looking for: a duplicate customer, a job cancelled on site, a declined card and a technician who has left the company. For a card saved on the customer, use Stripe's pm_card_chargeCustomerFail, which attaches and then declines when charged. Stripe cannot attach pm_card_visa_chargeDeclined to a customer, so use that one only for a single charge that fails. Those records show how the product handles exceptions as well as the clean path.

Keep the script in the application's repository and change it in the same merge request as each schema migration. The generated data then matches the schema the demo stack runs.

Destinations for demo email and payments

When a prospect clicks Send invoice or Charge card, each action needs a destination chosen in advance.

  • Send email to a mail catcher inside the environment. Mailpit, for example, acts as an SMTP server and shows intercepted messages in a web interface. It relays or forwards mail through another SMTP server only when relay or forwarding settings are supplied, either as a configuration file or as MP_SMTP_RELAY_* and MP_SMTP_FORWARD_* environment variables, so leave all of them out of the demo stack. The rep can then open the catcher and show the prospect the invoice email they triggered.
  • Point payments at the provider's sandbox. Stripe says sandbox transactions don't move funds and that test cards need test API keys in every call.
  • Route text messages, webhooks and accounting sync to stubs inside the environment that record each request.

Configuration gets changed by mistake, so back it with network rules. Allow outbound traffic only to the destinations the demo needs, and block your production network and your real mail relay. Stripe notes that an integration still using test API keys can't process live payments, so the keys decide which mode a payment uses. Keep live payment keys out of the demo stack's configuration and secret store.

Reset after every prospect

A prospect with a login may type in a colleague's name or one of their own customers as a test record. Those entries stay in the stack until something removes them.

Return the environment to its starting state after each prospect, so the next one sees only the generated dataset. A database restore covers the database. Uploaded files kept on disk or in object storage, queued background jobs, the mail catcher's inbox and the requests the stubs recorded each need their own reset step. Customers and charges a prospect creates in the payment provider's sandbox stay there after a database restore. A Stripe account can have up to five sandboxes. Give each demo stack its own sandbox while the count allows, so stacks keep their test objects apart. Past five on one account, stacks share a sandbox. On a dedicated sandbox, record the time each load finishes and clear or ignore sandbox objects created after it, so the next prospect starts from the loaded state. In a shared sandbox, read the provider IDs for customers that stack created after the load finished, before restoring its database, and delete only those customers. Stripe's API has no delete call for Charges or PaymentIntents, so leave those objects in place and keep the next session scoped to the fixture IDs in the restored database. Loaded objects a prospect changed, like a refunded seeded charge, stay changed after both steps, so when a session touched them, load fresh payment fixtures with new IDs as part of the reset. Resetting a QA environment between test runs compares four reset methods, including what a database restore misses.

A stack for each rep or each industry takes the same reset. One demo environment per rep or one per vertical? covers the choice between shared and separate stacks. A second industry becomes a second profile in the same script, such as a plumbing contractor beside the heating one, with its own seed.

What an invented dataset leaves unproven

A tenant with 380 customers says little about how the product behaves for a prospect whose customer list is many times larger. Answer volume questions in an environment sized for the test, with data generated at that scale.

Generated data is tidier than production unless someone writes the mess in. Records that break an import, like a company name too long for its column or a customer with no address, appear only when the script creates them.

Some prospects ask to load their own records before they sign. Treat that as a proof of concept on real data, with a separate environment, a named access list and a written plan for the records afterward. Keep it away from the demo stack other prospects log in to. Trial environments for enterprise prospects, kept away from production covers that setup.

Sources

Product behavior and reserved values in this guide were checked against these primary sources on November 16 and 17, 2026. The workflow recommendations describe a proposed process for your own environment.

Talk to a consultant