# Shared Forms

Shared forms allow your users and/or public guests to fill out your created collection forms.

## Creating a form

To create a form, first, create a collection with the fields that you want your users to fill out. After that, you can share your collection from the collections page.

![Shared form selection](/files/-M8F-DCbWz_9m-ASI2Fj)

## Authentication

Your forms can require authentication or can be open publicly. To authenticate users and allow them to enter data, you first need to setup authentications you want. How to do that, follow the link below.

{% content-ref url="/pages/-LwUEOAbxLgFTJHAzF24" %}
[Broken mention](broken://pages/-LwUEOAbxLgFTJHAzF24)
{% endcontent-ref %}

For third-party authentication providers, you will have to add a **redirect URL** in provider settings. The following are the links for each affected provider.

* Microsoft - `https://hub.codemash.io/shared/forms/auth/aad`
* Google - `https://hub.codemash.io/shared/forms/auth/google`


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codemash.io/dashboard/database/collections/shared-forms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
