> For the complete documentation index, see [llms.txt](https://guide.form.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.form.gov.sg/user-guides/basic-guide/publish-form.md).

# Publish form

Congrats on building your form! This section guides you on how to publish your forms!&#x20;

{% tabs %}
{% tab title="Video Tutorial" %}

### <img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2FQOMIvDNtwToQksUSBgCv%2FYoutube.png?alt=media&amp;token=30ffa65f-c62b-4944-9b22-d92d25e0bd3c" alt="" data-size="line"> Video Tutorial: Publish Form

{% embed url="<https://youtu.be/6GYrEFBmM7s>" %}
{% endtab %}

{% tab title="Text Tutorial" %}

### <img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2FHvQoMuH9RPvCWZOfX8bW%2FText%20tutorial.jpeg?alt=media&amp;token=14ec1731-d8f5-4150-b18a-b90da084dc36" alt="" data-size="line"> Text Tutorial: **Publish Form**

**Step 1: Publish your form in settings**

To make your form public, click **settings** and press the toggle button below.&#x20;

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2FUKMJZvfEFJgrTJlPhiTy%2FScreenshot%202022-09-25%20at%2010.40.21%20AM.png?alt=media&amp;token=d6c7f704-149a-48a5-a240-b3f9405d4324" alt=""><figcaption></figcaption></figure>

**Step 2: Enter or upload the secret key you downloaded at form creation.**&#x20;

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2Fb99htMz5bJfYKIlmfDxF%2FScreenshot%202022-09-25%20at%2010.40.29%20AM.png?alt=media&amp;token=d9ef47d9-0f5e-4495-936c-f859ffc029a0" alt=""><figcaption></figcaption></figure>

**Step 3: Tick the statement and activate form.**

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2FEqSeii4CeqDfX6l3b6Rr%2FScreenshot%202022-09-25%20at%2010.40.36%20AM.png?alt=media&amp;token=17cbbd14-6eee-4855-95fc-5da8a9631324" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you encounter any error, you may have:\
a) used an incorrect secret key

b) made amendments to the secret key by accident&#x20;

c) duplicated a form which generated a new secret key&#x20;
{% endhint %}

**Step 4: Share your form link and start collecting responses!**

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2FKz5k4myyH4yiKThLuP6A%2FScreenshot%202022-09-25%20at%2010.40.45%20AM.png?alt=media&amp;token=f210c33e-60b1-4386-868e-fabf9e2cb771" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2Fqt4vmQ4ddNkS7If084pd%2FScreenshot%202022-09-25%20at%2010.40.50%20AM.png?alt=media&amp;token=d171f716-146d-443e-805a-01b98cb8c38c" alt=""><figcaption></figcaption></figure>

Responses will be stored encrypted on FormSG database.

**Step 5: Receive email responses to your inboxes (optional)**

In the same settings page, click "Email notifications". You may add additional email addresses here to receive responses.&#x20;

<figure><img src="https://4000418884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPFgP7DGKSubWBlNdSCQd%2Fuploads%2F7YTAcqGZyovtxmEJAcpd%2Fimage.png?alt=media&amp;token=b8ed1bff-4464-4a79-b3eb-e8ca22a8ab4e" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.form.gov.sg/user-guides/basic-guide/publish-form.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
