A Prompt Template for Integrating Bootstrapware Importer

If you are using an AI coding agent, the easiest way to waste time is to ask it to build an entire import product from scratch.

A better prompt is one that treats Importer as the product and the agent as the integrator.

Generic prompt template

Integrate Bootstrapware Importer into this application.

Goal:
Add a production-ready CSV/XLSX/TSV import flow for [records] inside the app.

Requirements:
- Create a page at [route]
- Render the Bootstrapware Importer component
- Import @bootstrapware/importer/styles.css
- Use [importer ID] and a publishable key from environment variables
- On complete, send normalized rows to [backend endpoint]
- Keep spreadsheet parsing and validation in the browser
- Prefer field aliases for common CRM header variants
- Set dateOrder / numberLocale when the audience is not US-only
- Do not upload file contents, parsed rows, or filenames to Bootstrapware
- Do not expose secret keys or privileged backend logic in the client
- Add loading, success, and error states around the final backend submission
- Use the existing design system where reasonable
- Keep the implementation modular and easy to maintain

Non-goals:
- Do not rebuild CSV parsing from scratch
- Do not move database writes into the browser
- Do not invent a second importer flow if the package already covers it

Example for contacts

Integrate Bootstrapware Importer into this Next.js app.

Goal:
Add a contact import page at /dashboard/contacts/import.

Requirements:
- Render the importer component
- Import @bootstrapware/importer/styles.css
- Use importerId "imp_contacts"
- Read NEXT_PUBLIC_BOOTSTRAPWARE_PUBLISHABLE_KEY from environment variables
- On complete, POST rows to /api/contacts/import
- Show a success message when the backend import succeeds
- Keep styling consistent with the existing dashboard
- Do not expose secret keys or database credentials
- Keep file processing in the browser

(Env var name is illustrative. Match whatever you use in the app.)

Why prompt templates help

Agent success is often downstream of scope discipline.

A good prompt sets the boundary, tells the model what not to rebuild, keeps your security model intact, and focuses the output on integration rather than novelty.

This is the right shape for Bootstrapware generally.

For an even shorter brief optimized for retrieval, see Give this to your coding agent. Formal package rules: Agents.

Related: Importer · Quickstart · Cursor · Claude Code · Codex · AI coding agents