Sync Docs
Sync HomeLaunch GradientBook Demo
  • Sync Gradient
    • The Gradient Platform
      • How Does it Work?
    • Discover Quickstart
    • Add Workspace
      • Create Sync API Key
      • Add Databricks Workspace
        • AWS Databricks Setup
          • EventBridge Setup
        • Azure Databricks Setup
      • Webhook Setup
    • Project Setup
      • Import Jobs to Projects
      • Verify and Run Jobs
      • Generate and Apply Recommendation
    • Advanced Use Cases
      • Install the Sync-CLI
      • Manual Workspace Setup
        • AWS Instance Profile
      • Apache Airflow for Databricks
      • Gradient Terraform Integration
    • Project Settings
    • Account Settings
    • ROI Reporting
    • FAQ
  • Tutorials & Best Practices
    • Running Gradient in Production
      • Production Auto-Enabled
      • Optimization Windows
      • Development Clones
    • Demos
  • Developer Docs
    • Resources
    • Sync Python Library
    • Gradient CLI Walkthrough
  • Security
    • Privacy and Security Compliance
  • Trust Center
    • Portal
  • Product Announcements
    • Product Updates
  • Need Help?
    • Troubleshooting Guide
Powered by GitBook
On this page
  • 1. Go to the single job import
  • 2. Create a single Databricks project
  • 3. Go to your project details
  • 4. Use the CLI to on-board a Databricks job to the project

Was this helpful?

Export as PDF
  1. Sync Gradient
  2. Advanced Use Cases

Manual single job import

Last updated 10 months ago

Was this helpful?

To manually import a single job and avoid supplying Databricks credentials into the Gradient UI, follow the instructions below

1. Go to the single job import

In the Import Databricks Jobs page, click on the "create a project for Databricks" link

2. Create a single Databricks project

Fill in the project name, an optional description, and select your cloud provider in the drop down.

3. Go to your project details

You should see your newly created project in the Projects page. Click on the "View/Edit" button in the same row as your project.

In the blank project page, find the project-id in the upper right hand corner. Copy your project-id to your clipboard

4. Use the CLI to on-board a Databricks job to the project

sync-cli workspaces onboard-job <workspace-id> <job-id> <project>

The parameters and where to find them are below:

  • <workspace-id> - is the "o" parameter on your Databricks URL

  • <job-id> - the Databricks job-id of the job you want to on-board, can be found in the Databricks console

  • <project> - The Sync project-id, can be found in the Gradient console in the project page

Example output:

% sync-cli workspaces onboard-job /
879201124341048 /
76937135246466 /
9383ac5e-5aaf-45fb-b70b-0cb87c8052c7
                                                                                                                                                    
Workflow synchronized

Using the run the command below to on-board and connect a Databricks job to the newly created Project above

Sync CLI,