Creating your first AI data experience

This guide will help you connect your database, generate intelligent queries, and deploy them as APIs in just a few minutes.

1. Getting Started

1

Sign in to infactory

Navigate to your infactory workshop at workshop.infactory.ai and sign in with your credentials. A default project is automatically created for you, and you’ll land there when you sign in.

2

Explore your default project

Your default project is ready to use. You can rename it to something more descriptive by clicking on the project name and entering a new name that reflects its purpose or the data you’re connecting.

2. Connecting your data

To connect your data to Infactory:

  1. Navigate to the Connect page in your project dashboard
  2. You’ll see the different data sources you can connect to, including (but not limited to) CSV files, Azure Cosmos DB, and PostgreSQL
  3. Select the appropriate data source and follow the connection instructions

3. Building queries

After connecting your data, Infactory automatically generates queries based on your schema.

1

Navigate to the Build tab

This is where you can view automatically generated queries and create new ones.

2

Explore auto-generated queries

Infactory automatically generates about 12 queries that can be answered based on your data schema. These serve as a starting point for your project.

3

Test a query

Select a query from the list and click Run to execute it and see the results. The results will appear as structured data in the results panel.

4

Create a new query (optional)

To create a new query:

  1. Click the New Query button
  2. Use the Infactory assistant to describe what you want to query
  3. Review the generated query code
  4. Test it by clicking Run
  5. Make adjustments as needed

4. Deploying queries

Once you’re satisfied with your queries, you can deploy them to make them available via API.

1

Select a query to deploy

From the Build tab, select the query you want to deploy.

2

Click the Deploy button

This will add the query to your deployed queries list.

3

Navigate to the Deploy tab

Here you can see all your deployed queries and access your API endpoints.

4

Test the API

You can test your deployed query directly from the Deploy page:

  1. Under “Live APIs,” find your deployed query
  2. The query parameters (slots) will be available for you to modify
  3. Click Execute to test the API call

5. Integrating with your application

Next Steps

Now that you’ve created your first project with Infactory, explore these guides to learn more: