# Would it be possible to add to ability to create &quot;Singles&quot; and &quot;Global variables&quot;?

singles, effectively documents that only have one instance. This would be a great addition!

##### Post Metadata
- Posted at: about 4 years ago
- Author title: Web developper
- Net upvotes: 1


## Comments
### Comment 1

Hi! This is actually possible today using the Structure Builder API. You can follow this tutorial to set it up: https://www.sanity.io/docs/create-a-link-to-a-single-edit-page-in-your-main-document-type-list

The reason we have gone with this approach is that in many cases you want more instances of your “singleton documents”  once a project matures and grows. For example, you have a “settings document” for a website, but then you want to add a second website property to your Sanity project. Then you can opt out of the singleton configuration and support multiple settings documents with the same fields. 

##### Comment Metadata
- Posted at: about 4 years ago
- Author title: Head of Developer Relations at Sanity.io




## Related Product
[Sanity](https://www.g2.com/products/sanity/reviews)

## Related Category
[Headless CMS](https://www.g2.com/categories/headless-cms)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


