Docs
Getting Started

Getting Started

Hello folks, we welcome you to Unbody. Unbody helps you to transform content from different providers to accessible knowledge using a simple existing interface. You can aggregate and synchronize content from a wide variety of sources such as a Google Drive document, a Slack channel, a folder, or a file on your laptop.

play

Here are simple steps to get you started to transform your content into an accessible knowledge base.

1. Access Your Dashboard

You can access your Unbody Dashboard here (opens in a new tab). You need to log in to get started.

2. Create a Project

Your project on Unbody is the workspace that allows you to maintain and manage your content sources. You can create your first project directly from the dashboard.

3. Connect Your Content Sources

Once you have set up your project, you can connect your content sources. Unbody currently supports Google Drive and Google Calendar. We are working on more integrations, which shall be available to you soon.

You can add a source by following the steps given below.

Step 1

Select a provider: Choose the platform where you have stored your content. For example, if your content is stored in Google Drive, choose it as the content provider. You can visit Google Drive and Google Calendar for more information.

Step 2

Authorize Unbody: You must allow Unbody to access your content from the selected provider. Please read more about this on our privacy page (opens in a new tab).

Step 3

Set an entry point: In this step, you need to specify where Unbody should start indexing your content. For example, you can specify a folder or an agenda.

4. Initialize Your Content

Now you can navigate to the source page and click “initialize”. Unbody will index the content from your entry point. Once the process is completed, the dashboard will display the number of records processed.

5. Explore the GraphQL Playground

Now that your content is initialized successfully, you can directly jump to the GraphQL Playground (opens in a new tab) and get your hands dirty, craft your queries, and watch the magic. We have given some tailored examples for Google Drive content.

  • Basic Query - Fetching Google Doc Details

With the query given below, you can retrieve the name and text content from a Google Doc.

query {
Get {
  GoogleDoc {
    originalName
    text
  }
}
}
  • Retrieve Media Blocks

To access URLs and attributes for ImageBlocks and AudioFiles, you can use the query given below.

query {
Get {
  ImageBlock {
    url
    alt
    width
  }
  AudioFile {
    url
    size
    ext
  }
}
}
  • Semantic Search

You can perform the search operation using the query given below. For example, the query discovers TextBlocks conceptually related to "fashion".

query {
  Get {
    TextBlock(nearText: { concepts: ["fashion"] }) {
      text
    }
  }
}
  • Advanced Q&A

The query given below helps you extract a specific answer from a Google Doc.

query {
  Get {
    GoogleDoc(
      ask: { question: "What is Unbody's core feature?", properties: "text" }
    ) {
      _additional {
        answer {
          result
        }
      }
    }
  }
}

Tailoring Your Queries:

These examples should help you get started, but please remember that Unbody is incredibly flexible. You can explore, experiment, and tailor your own queries to suit your unique content and needs. For more in-depth information, you can visit our API Reference.

Next Steps: