Skip to main content

Quickstarts

Orchestration lets you develop distributed systems without worrying about coordinating complexity. Conductor is an orchestration engine that runs sequences of tasks, known as workflows, using a worker-task queue architecture.

In these quickstarts, you will learn the basics of developing with Conductor:

  1. How to create workflows
  2. How to write custom workers
  3. How to deploy workflows to production
  4. How to debug workflow
tip

Familiarize yourself with the Core Concepts in Conductor before diving into our quickstarts.

With Orkes’ suite of SDKs, APIs, and Orkes Platform, you can mix-and-match our products to develop with Conductor.

  • Conductor SDKs—Manage, test, and deploy workflows; write workers; or integrate Conductor into your applications. Available in Python, Java, Javascript, C#, Go, and Clojure.
  • Conductor APIs—Manage resources (workflows, tasks, users, etc) programmatically.
  • Orkes Platform—Manage resources from a user interface.

Preparing your tools

Before you begin, prepare the following:

  • Get UI access to your Orkes Conductor cluster.
  • Set up your development environment.
  • Configure programmatic access to your Orkes Conductor cluster.

Get UI access

Orkes Platform offers single-tenancy access. If you have an Orkes account, access your cluster and log in using your organization’s SSO provider.

Screenshot of Orkes log in screen.

Set up your development environment

A key part of developing with Conductor involves using our SDKs to write workers, create workflows as code, or develop client applications. Set up your development environment in your preferred language.

Prerequisites

In your project directory, create and activate your virtual environment (eg myProject).

Mac:

// Using venv
python -m venv myProject
source myProject/bin/activate

// Using virtualenv
virtualenv myProject
source myProject/bin/activate

Windows:

// Using venv
python -m venv myProject
myProject\Scripts\activate

// Using virtualenv
virtualenv myProject
myProject\Scripts\activate

In your terminal, run the following command to get the Conductor SDK.

python3 -m pip install conductor-python

Configure programmatic access to Conductor

Once your development environment is set up, you need to configure your access to the Conductor server. In Orkes, programmatic access to Conductor is enabled by application-based access keys. To get authenticated, you must first create an application in Orkes Platform, then create an access key for your application.

To create an application:

  1. Log in to your Orkes cluster or the Orkes Playground.
  2. In the left navigation menu, go to Access Control > Applications.
  3. Select (+) Create application.
  4. Enter the application name, such as “myFirstWorkflow”. Use this application while following along with the quickstarts.
  5. Select Save.

The application has been created. You can proceed to retrieve an access key.

To retrieve the access key:

In the Access Keys section, select (+) Create access key to generate a unique Key Id and Key Secret.

The Key Secret is shown only once. Make sure to copy and store it securely, so you can use it when following along with the quickstarts.

Ready to start?