All guides

Publish a FastGPT app and check its share entry point

Save and publish a debugged FastGPT chat Agent, create a no-login window link, set the citation switch, then verify from an external browser as a visitor.

AINavWritten / Updated Sources checked
On this page

At a glance

An app that answers correctly in the editor may not show a visitor the same result when they open the link. This task starts from a chat Agent that already passes debugging, then saves and publishes it, creates a no-login window link, decides whether to show citation snippets, and finally verifies in a browser as a visitor. Do not send anyone a link that has not passed the checks.

Workflow

  1. Layer 1: retest before publishing

    Ask the check question again in the editor's debug preview, confirm the answer and citation look right, then save and publish.

  2. Layer 2: do the link settings match intent

    In the no-login window under publish channels, confirm the link name and the view-citation-snippets switch, which decides what visitors see.

  3. Layer 3: verify as a visitor

    Open the copied link in a new tab or external browser, ask on your own, check the answer and citations, then decide whether to distribute.

Each stage cites official sources.

Before you start

  • A chat Agent that already passes debugging, such as the official quick-start's "差旅制度问答", bound to the knowledge base "差旅制度".
  • That knowledge base was imported from the three-line travel-policy.txt, and its dataset training status shows as ready.
  • Your account has permission to publish the app, and you can open a link in another browser tab or an external browser.

1. Retest before publishing

In the editor's debug preview, type "出差回来后多久提交报销?需要准备哪些材料?" at the bottom. Check that the answer states 15 calendar days, lists the invoice and the approved travel request form, and shows the travel-policy.txt citation under the answer. If anything is off, fix the knowledge base or prompt first and do not publish.

2. Save and publish

Click Save at the top right and choose Save and publish from the dropdown. In the dialog enter a version name such as "差旅制度 v1" and click Confirm. Check: the dialog closes without an error message.

3. Open the no-login window channel

Click the publish channels tab at the top and choose the no-login window in the left channel list. The official docs also have pages on publish versions and channels and on no-login window publishing, which you can read if you need more about channels.

4. Create the link and decide the citation switch

Click create new link at the top right and enter a link name. If you want visitors to be able to check the basis, turn on view citation snippets. The quick start treats the switch as optional, while the knowledge Q&A guide uses it so visitors can see the knowledge base citations. Click Confirm, and the generated share address is copied automatically.

5. Open as a visitor and ask

Paste the copied address into a new browser tab, preferably an external browser so it is closer to a visitor's environment. Enter the same check question again, then add a question the knowledge base does not cover and see whether the answer says nothing is recorded.

6. Decide: distribute or stop

If the answer is correct and the citation display matches what you intended, hand the link to the target visitors. If not, do not distribute: return to the editor, fix the app and save and publish again. The documentation read does not describe how to revoke or disable a link, so consult the official no-login window page when needed instead of guessing.

Original example

Input: chat Agent "差旅制度问答", knowledge base "差旅制度" (the three-line travel-policy.txt), version name "差旅制度 v1", a link name of your choice with view citation snippets on; the visitor-side question is "出差回来后多久提交报销?需要准备哪些材料?". Expected check results: the answer says to submit within 15 calendar days after returning and lists the VAT invoice and the approved travel request form; with the switch on, the travel-policy.txt citation snippet is visible. The official screenshots were recorded with the English file, so the wording may read "15 calendar days"; compare the facts rather than exact words. These are criteria set from the documentation, not observed output.

Completion checks

  • The debug preview answer and citation look right before publishing.
  • A version name is entered and save and publish shows no error.
  • A link exists under the no-login window, with the citation snippet switch set as intended.
  • The link opens in an external browser, the answer facts match the knowledge base, and citation display matches the switch.

Limits

  • The sample text is a fictional policy and not a real reimbursement rule; do not practise with real company material.
  • Anyone who obtains a no-login window link may be able to open it, so keep content you do not want visitors to see out of the knowledge base; the documentation read does not detail the link's access scope, so check the official page.
  • This guide does not cover custom domains, MCP publishing, API access or third-party bot channels, which are separate entries in the official docs.
  • The docs do not describe a revoke-link procedure, so none is given here.

Verification scope

This guide was written from the official FastGPT documentation, and only the documentation was read. Login, installation, product API execution, file upload and generated output were not tested; interface labels follow the docs and may differ in your version.

Article sources

Original editorial content; official descriptions and checking suggestions are distinguished.

  1. FastGPT · Official sources
    View details
  2. FastGPT · Official sources
    View details