Skip to main content

Quickstart

This page will give you a fast track tutorial on how to get started with Domino platform.

Setup

Install

System dependencies

In order to run Domino locally, you need to have these dependencies installed:

  • Python 3.9 or greater.
  • Docker engine 20.0 or greater. You can install it by following the instructions here.
  • Docker Compose V2. You can install it by following the instructions here.

In a clean Python environment, install domino-py running:

pip install domino-py[cli]

Run Domino

Github token

Domino Pieces are distributed in Github repositories. In order to reliably install them, it is recommended to provide a Github token at the start up of the platform.

It is very simple to generate Github access tokens. See Authorizing Domino to access Github repositories for a basic step-by-step.

If no token is provided, Domino will still be able to run, but some features will not be available.

In a new, empty directory, run:

domino platform run-compose --github-token <your_github_token>

Or run without a github token (some features will not be available).

domino platform run-compose

This command will create the necessary files and directories to run Domino platform using Docker Compose. For more information about this and other modes of running, see Run Domino.

It might take a few minutes to run, specially the first time, since it will download and run a couple of necessary Docker images. Once the platform is up and running, success messages will be printed to your terminal and you will be able to access the Domino GUI at localhost:3000.

caution

The platform will not be fully functional if you do not provide a github token. The preferred way to run Domino is passing your token through the --github-token flag

Using the Domino GUI

Authentication

Sign In to your Domino's account and start using it. If you don't have an account you can create one or use the default account created automatically by Domino:
email: admin@email.com
password: admin
signupgif

Select a workspace

You are now at the Workspaces page. As a new user you get a default workspace from the start, click on the Default card to select it.

You can create more workspaces, configure them and invite other users to collaborate with you later on. To return to this page in the future, click on the Workspaces button, the first on the left side navigation bar.

Select workspace

Building a workflow

Time to build your first Domino workflow! Click on the Workflow Editor button, the third on the left side navigation bar, to open the Workflow Editor page.

This is the space where you will turn your ideas into reality. You can drag and drop Pieces from the right side bar to the canvas, connect them and configure them to create any workflow.

For an easy start, click the Import button and then from examples gallery. Here you will find a few examples of workflows with different levels of complexity that you can use to learn Domino.

Gallery

Let's start with a simple one: click on the Image Filter card and then OK to import it, the workflow template will be imported to the canvas. This workflow is composed by two pieces:

  1. HTTP Request: Make an HTTP request to an URL and return the result as base64 string. In our case we set a URL to an image.
  2. Image Filter: Apply a simple filter over an input image.

When creating a workflow you should configure its Settings and Pieces arguments.

For each Piece in a workflow, you customize the inputs, computation resources, and file system access. Simply double-click on the desired Piece and edit the form. Within this workflow, you can, for instance, edit the input URL for the HTTP Request Piece and define the desired filter in the Image Filter Piece.

Furthermore, you have the capability to utilize output data from preceding Pieces as inputs in the subsequent Pieces. This is known as upstream data. To enable this functionality, simply check the from Upstream checkbox within the downstream Piece. By doing so, you will gain access to a list displaying the preceding outputs that match the expected input data type. Learn more about Pieces hereeditPieces

Creating a workflow

Now that your workflow is configured, you can create it just by clicking on the Create button.

info

When creating a workflow, it won't be instantly available for execution. The creation process is asynchronous and may take a few seconds to complete.

Next, you can go to My Workflows page, where you can monitor all your workflows. To do that, click on the second button on the left side navigation bar.

Create Workflow

Running and Monitoring workflows

Now your workflow is active and ready to run. Even if you've set up a schedule, you can always manually trigger a new workflow run, simply click the Run button directly in the workflows table, or select the desired workflow and, once in the workflows individual page, click the Run button.

By selecting the desired workflow, you'll be directed to the workflow's individual monitoring page. This page provides a comprehensive view, allowing you to follow the overall status of your workflow, as well as specific Pieces logs and real-time results!

  • The top table displays all runs of the workflow.
  • The bottom graph visualizes the real-time progress during execution or its final state after the run completion.
  • For detailed monitoring of each Piece, including access to logs and results, simply double-click on the desired piece and navigate to the section on the right.

Monitoring workflow

Congratulations! You just went from starting the Domino's platform to creating and running your first workflow!

What's Next?

Your Domino journey is just starting! Check the Domino Settings section to delve deeper into concepts such as Piece Repositories, Secrets, Local and Remote Shared Storage, and more!