Integration & operations
Install the public FAQ starter in an existing React project
Copy a static React FAQ and fictional sponsorship layout, use stack-adaptive Lovable or Bolt prompts, and check the exact result without connecting an ad service.
Direct answer
Download the public FAQ component and scoped CSS, inspect your existing React project's router, and render one instance on an isolated synthetic example page. The supplied Lovable and Bolt prompts ask the builder to preserve the actual host stack and backend. This installs a fictional static layout and read-only scope record, not an AdThread SDK, ad selection, advertiser connection, or revenue feature. Verify the actual generated project before using it; the local checks below are not a platform-wide validation.
Start with the inspectable source example
Open the starter page, inspect the FAQ and fictional card, then download the component and stylesheet. The page imports those public source files directly, so its downloads are the implementation being shown rather than a separately maintained illustration. Its prompt-copy controls use the same exported prompt text available in the download.
Choose one publisher-authored public resource or a wholly fictional example for this exercise. Do not insert the card into customer conversations, checkout, account pages, or uploaded-file workspaces. Use the scope worksheet to record the surface, authority, evidence, restrictions, and next decision before considering a real placement.
Know what each file does
The React component supplies a complete generic FAQ, followed by a separate Advertisement / Sponsored / Fictional example card. The card contains a fictional advertiser identity, inline SVG placeholder, fixed copy, and a link to an explanation on the same page. It makes no product recommendation and names no real advertiser offer.
The component takes no props and reads no customer context. Its scope record is read-only: public existence, publisher control, placement authority, and U.S. audience availability remain Unknown until supported separately. Its illustrative decision is Revise, not an approval or started pilot.
| File | Purpose |
|---|---|
| AdThreadPublicFaqStarter.tsx | Static React markup for the FAQ, fictional card, same-page destination, and scope example |
| adthread-public-faq.css | Scoped layout and focus styles, using system fonts and no remote assets |
| installation-prompts.ts | The prepared Lovable and Bolt host-inspection and implementation prompts |
| README.md | Installation boundaries, inspection steps, and permission to copy and adapt the template files |
Add the smallest host-project change
Inspect the existing framework, router, stylesheet conventions, and package scripts before selecting file paths. Copy the component and CSS together, import the named AdThreadPublicFaqStarter component and stylesheet, and render one instance on an isolated example page. The README contains the short import example. One instance per page avoids duplicate fixed anchor IDs.
Keep the host's homepage, chat, checkout, forms, APIs, authentication, database, and customer workspace unchanged. The starter requires no backend migration, API key, environment variable, new dependency, iframe, remote image, or advertiser service. Import its CSS through the host's existing convention rather than replacing global styles.
In a builder project, supply only the reviewed template files needed for the example. Do not upload the private AdThread repository, runtime data, credentials, application database, or operational registries. Inspect the proposed file diff before treating generated code as the supplied example.
Adapt the Lovable prompt to the actual stack
Lovable's current stack documentation describes newer TanStack Start projects and an upgrade path for older React/Vite projects. Do not assume a Vite directory structure or migrate a project just to add this component. The supplied first prompt asks Plan mode to inspect the actual framework, router, and build commands and return a small file plan. The second prompt implements that reviewed plan while preserving the fixed fictional content.
Lovable's preview documentation says preview and published versions can share backend and data. Calling something a preview does not make database changes isolated. This task needs no backend change and should use only the supplied fictional material.
Keep the Bolt prompt component-sized
Bolt documents browser-native JavaScript frontend frameworks, Plan Mode, and adding individual components with small, specific prompts. The prepared prompt therefore begins with the existing framework and router rather than assuming an App.tsx entry point. It asks for one isolated page, the component, and its stylesheet while preserving existing services and data.
These are stack-adaptive installation prompts. Verify the actual generated project before using it, recording its source, framework, generated output, checks, and limitations. The local checks reported below are not a platform-wide validation; a local React render alone is not a successful platform installation.
Separate the two passing local checks from platform tests
Two local repository checks passed for the prepared source. The first transpiled and rendered the actual public TSX in an ordinary React server process. Adding wholly synthetic customer-like props did not change its output. The check also confirmed that the fictional card followed the separate FAQ and that the only link pointed to the same-page destination.
The second inspected the current source for a React-only import, zero component parameters, prohibited browser/service hooks and event attributes, and remote CSS imports or URLs. These checks concern this source fixture. They do not establish browser layout, clipboard availability, human ad recognition, accessibility conformance, or execution inside either builder.
For a host installation, run that project's actual type and build commands. Inspect narrow and wide layouts, use the keyboard to reach the example link, and confirm its same-page destination. Record the framework, source version, commands, observations, failures, and untested states. Separate the component's added requests and behavior from unrelated analytics already present in the host.
A bounded local browser check
We inspected the local Next.js starter page in the in-app browser at a 1,280 by 720 pixel viewport. The document scroll width was 1,280 pixels in that state, and the example component contained no forms. Its same-page example link received visible keyboard focus with a solid 3-pixel outline; pressing Enter reached the expected page fragment.
The Lovable prompt-copy button displayed Prompt copied. A separate clipboard read did not confirm the prompt bytes, so actual copied content remains unverified. The displayed text can be selected manually, and the prompt source is available as a download. The UI message alone is not a clipboard-content test result.
These observations cover one local layout and keyboard path. Narrow-screen layout, clipboard contents, and actual Lovable/Bolt project execution are not established by this check. It is not a human advertising-recognition study or an accessibility-conformance assessment.
What we observed in an actual Bolt project
On October 27, 2026, we mounted the supplied TSX component and scoped CSS in an isolated private Bolt project. Node's crypto module printed a SHA-256 hash for each installed file; both matched the supplied public source. An independent reviewer compared the captured terminal transcript with the source hashes. This verifies the reported hash comparison, not a downloaded ZIP or an independent read of Bolt's filesystem.
The actual Bolt terminal ran npm run typecheck, whose script was tsc --noEmit -p tsconfig.app.json. No errors were shown and the shell prompt returned. npm run build invoked Vite 7.3.7, transformed 29 modules, and reported built in 758ms. Numeric exit codes were not captured, and the installed React version was not independently verified. The build duration is one observation, not a speed promise.
In Bolt's embedded preview, we observed the expected fixed publisher FAQ, separate fictional advertisement, and read-only scope record. A Shift+Tab, Tab, and Return sequence on the example link reached #adthread-example-destination. A separate temporary preview address did not show a server and was not retried, so the browser observation is limited to the embedded preview. The project remained private and was not published.
This Bolt observation is separate from the local checks above. It does not establish Lovable completion, every layout or browser, platform-wide privacy, accessibility conformance, a functioning AdThread SDK, real advertising, customer results, revenue, or a production deployment. Verify your own generated project and preserve its actual evidence rather than transferring this result to a different build.
Inspect generated source and manifests in Lovable
On October 27, 2026, we inspected a separate private Lovable project through its official read-only Code view. We copied the component and stylesheet using Copy file contents. An independent comparison found that each acquired copy contained the original bytes followed by one extra final line-feed byte: 4,545 versus 4,544 bytes for TSX and 2,028 versus 2,027 for CSS. All preceding bytes matched. Raw-byte equality was false; this does not establish whether the extra newline came from the editor file, Copy operation, or clipboard capture.
The copied package manifest declared @tanstack/react-start 1.168.60, React ^19.2.0, and Vite 8.1.5. Those are declarations, not independently verified installed versions. The platform assistant's summary named Vite 7, which conflicted with the manifest. Read the generated source and package scripts instead of treating a model's stack summary as evidence. Its reported type check, build, and existing test result were not backed by directly captured terminal output, so we do not count them as verified passes.
In Lovable's embedded preview, we observed the fixed FAQ, separate fictional advertisement, and read-only scope record. The page title was AdThread Public FAQ Starter: Fictional example. Shift+Tab, Tab, and Return on the actual example link reached #adthread-example-destination. This confirms that keyboard path in that embedded preview, not every layout or an accessibility-conformance result.
The project was not published, and no custom domain, Git connection, or backend integration was performed. We inspected two copied source files and the manifest, not the complete generated project, dependency tree, or network behavior. This observation establishes no ad SDK, real advertising, customer result, revenue, or production deployment. Keep source comparison, manifest declarations, directly observed behavior, and unverified platform summaries separate in your own installation record.
Carry one scope decision forward
All customer content and customer data remain excluded from all advertising and ad selection, including customer-authored public material, usage behavior, and derived values. Do not connect the card to a prompt, transcript, upload, profile, session event, or inferred topic. A separate surface, consent, or aggregation creates no exception.
Inspect and copy the starter, then prepare one public-surface scope record with actual evidence and Unknown entries where needed. AdThread discusses feasible operator inventory and conditions before advertiser recruitment. A source installation or completed worksheet establishes no advertiser commitment, pilot agreement, delivery, revenue, timing, or selection promise.
Sources and further reading
Primary sources checked for this guide. Recommendations and hypothetical examples are AdThread's editorial analysis.