Skip to main content
Skip table of contents

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.

  1. You will need an API Token for authentication and you get your Token from your Sanity project settings.

  2. Go to your project overview page and click on the API button.

    sanity1.png
  3. Scroll down to Tokens section or click on Tokens button which is on the left sidebar and click on the Add API token button.

    sanity2.png
  4. Give a name to the token and select a role from the list. Then click on Save button.

    sanity3.png
  5. Copy your API Token and save it in a safe place for later use.

    sanity4.png
  6. Go to qibb Workflow Editor, open Node Catalog in the right sidebar, and install Sanity node by clicking on the + button.

  7. Drag the Sanity node and any other nodes you need from the left sidebar and place them in your flow.

  8. Enter the Host URL for your desired operation, your API Token into the Advanced/Security field of the node and start using the integration!

    2024-03-13 15_54_23-qibb Flow _ flow-wmk8egcetau3v.dev-01.qibb.com.png

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:

  1. In the top right corner of the Flow Editor, click on the menu icon.

  2. Select Import to open the Import Dialog.

  3. Click on the Examples tab.

  4. Choose an example from the list.

  5. 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.