How to set up Databricks
Getting your Databricks setup right from the launch makes it easier to start learning the platform, learning the features, and running some code. This blog will cover the basics including creating an account, accessing your workspace, and getting everything ready to run your first notebook. Whether you’re a developer, analyst, or engineer working with data, these steps set the foundation for using Databricks effectively.
This guide is written from a graduate perspective. It’s not a complete technical deep dive, but as a beginner walkthrough to help you get your first piece of code running in Databricks.
What is Databricks?
Databricks is a cloud platform designed to support data engineering, analytics, and artificial intelligence capabilities all within a single environment.
Founded by the creators of Apache Spark, Databricks provides a unified platform to process data, run code, and collaborate through notebooks. It essentially provides a straightforward way for multiple parts of the business (data engineers, analysts, scientists) to work together on the same data and workflows without needing separate tools.
The platform is suitable for a variety of businesses, from startups to large enterprises. It is especially valuable for teams working with large or complex datasets, because it allows users to process and analyse data at a scale that wouldn’t be possible on a single machine
Key concepts to know:
Before getting started with the setup, there are a few key concepts to understand that are the building blocks that you’ll be interacting with straight away.
Workspace
The workspace is your main environment in Databricks. It’s the location of your notebooks, folders, and other assets. It is the place for organising and accessing your work.
Compute (Serverless)
Compute is needed for code to run. This can be provided through several options, including serverless compute, clusters, and SQL warehouses. By default, serverless compute is used, meaning the platform automatically manages the underlying resources, so we don’t need to create or start clusters manually.
Notebook
A notebook is where you write and run your code (e.g. SQL or Python). Notebooks are also where you’ll see your outputs.
Data & catalog
Databricks uses a catalog system to organise and manage data. This is typically handled through Unity Catalog, which allows you to structure data into catalogs, schemas, and tables. Essentially the catalog is how you find, access, and manage your data in Databricks.
Workspace
Organise and access your notebooks, folders and assets.
Compute
Provides the resources needed to run your code.
Notebook
Write and run code, and view your results.
Data & Catalog
Organise, access and manage your data.
Getting started with Databricks
Step 1: Access your Databricks workspace
To get started, you’ll first need access to a Databricks workspace.
Depending on your setup, this might mean
- Logging into your organisation’s Databricks workspace
- Creating an account using a community or trial version
Once you’re in, you’ll see the main interface.

Step 2: Create your first notebook
Navigate to the Workspace tab, then:
- Click Create
- Select Notebook
- Enter a name for your notebook
- Choose a language (Python is a good default)
Once created, you’ll see an empty notebook ready for you to start writing code.

Before running any code, you need compute. Compute is what allows Databricks to process your code and data.
Step 3: Select compute (serverless)
Databricks requires compute to run your code. This is often handled using serverless compute, where Databricks automatically provides and manages the compute for you.
In most cases, this is already selected for your notebook, so you don’t need to configure anything manually.
Step 4: Run your first command
Let’s start with something simple:

Here we can see the code successfully run in Databricks with an output displayed in the notebook.
Conclusion
Setting up Databricks is a simple but important first step when working with data on the platform. By following these steps, you now have a working environment where you can run code and start exploring how Databricks works in practice.
At this stage, the point isn’t to understand everything, but to be comfortable with the basics. Once that foundation is in place, learning more advanced features becomes easier.
Next steps
Now that your Databricks environment is set up, you can explore:
- Loading and working with real datasets
- Writing SQL and PySpark queries
- Building simple data pipelines
- Running scheduled jobs and workflows
- Connecting to external data sources