Sanity
Introduction
Sanity is a content platform designed to facilitate streamlined content creation and management for a wide range of digital projects. Its real-time collaborative environment enables teams to work together efficiently, iterating on content seamlessly. With customizable data modeling capabilities, users can structure content exactly as needed, accommodating complex data structures with ease.
Sanity offers robust APIs and integrations, ensuring smooth connections to various front-end frameworks, databases, and services. Whether it's a small blog or an enterprise-scale application, Sanity provides the tools and infrastructure necessary to build, manage, and deliver content effectively across any digital platform.
You can find more details and the supported operations on Sanity | qibb Catalog.
How to get started with Sanity integration
Before you get started using Sanity integration please make sure that you have the needed permission for the operations. Here you can find the Sanity API Documentation.
You will need an API Token for authentication and you get your Token from your Sanity project settings.
Go to your project overview page and click on the API button.
Scroll down to Tokens section or click on Tokens button which is on the left sidebar and click on the Add API token button.
Give a name to the token and select a role from the list. Then click on Save button.
Copy your API Token and save it in a safe place for later use.
Go to qibb Workflow Editor, open Node Catalog in the right sidebar, and install Sanity node by clicking on the + button.
Drag the Sanity node and any other nodes you need from the left sidebar and place them in your flow.
Enter the Host URL for your desired operation, your API Token into the Advanced/Security field of the node and start using the integration!
Importing flow examples of a node
Once you've successfully installed a node from the qibb catalog, you can easily import example flows that showcase how the nodes can be used. These example flows are directly accessible within the Flow Editor and are designed to guide users with helpful hints, including how to configure mandatory parameters and credentials.
Here's how to import examples:
In the top right corner of the Flow Editor, click on the menu icon.
Select Import to open the Import Dialog.
Click on the Examples tab.
Choose an example from the list.
Confirm your selection by clicking on the Import button.
By following these steps, you are now ready to make basic API calls using the provided examples. For further exploration of what’s possible, you can find more complex examples in the Flow Catalog.