# Getting started

Quadratic is a modern AI-enabled spreadsheet. Quadratic is purpose built to make working with data easier and faster than ever.

Quadratic combines a familiar spreadsheet and formulas with the power of AI and modern coding languages like Python, SQL, and JavaScript.&#x20;

{% embed url="<https://www.youtube.com/watch?v=QbGeH_n5SCA>" %}

Skip to a section of interest or get started in [the short walkthrough below.](#getting-started)

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f916">🤖</span> Learn how to use AI in Quadratic</td><td></td><td></td><td><a href="quadratic-ai/getting-started">getting-started</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f40d">🐍</span> Learn how Python works in Quadratic -></td><td></td><td></td><td><a href="python">python</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f50c">🔌</span> Learn how to connect to your databases with SQL -></td><td></td><td></td><td><a href="connections">connections</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f7e8">🟨</span> Learn how JavaScript works in Quadratic -></td><td></td><td></td><td><a href="javascript">javascript</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f522">🔢</span> Learn how Formulas work in Quadratic -></td><td></td><td></td><td><a href="formulas">formulas</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1fac2">🫂</span> Learn how Teams work in Quadratic -></td><td></td><td></td><td><a href="teams">teams</a></td></tr></tbody></table>

If you have any questions or feedback, we’d love to hear it! Share by [contacting us.](https://www.quadratichq.com/contact)

## Getting started

Get started in Quadratic by [creating your first blank sheet](https://app.quadratichq.com/files/create) or [picking an example file.](https://app.quadratichq.com/examples)

Here is a list of some common first things to do in Quadratic:

### Build something instantly with AI&#x20;

The AI Chat is open by default in your first sheet or can be accessed via the sparkle menu item in the sidebar. Simply ask questions in natural language to start writing code, inserting data, and making direct edits to your spreadsheet.&#x20;

{% @arcade/embed flowId="WmxlS1QtUZ0acwCuIBVJ" url="<https://app.arcade.software/share/WmxlS1QtUZ0acwCuIBVJ>" %}

### Write your first line of Python code :snake:

Start your first first line of code by simply pressing `/` after clicking a cell. This will open the command palette.&#x20;

<figure><img src="https://2438361843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff1Y5UzPF2x1oIzVJbUK8%2Fuploads%2FBJEhs5B42DdXlFAuqyOy%2FCleanShot%202024-07-17%20at%2017.01.16%402x.png?alt=media&#x26;token=c7507a6c-e5ce-4b4b-908b-0381ad199115" alt="" width="563"><figcaption></figcaption></figure>

Picking your cell type will open the editor where you can start writing code.&#x20;

In Quadratic you can reference cells in the spreadsheet to use in your code, and you can return results from your Python analysis back to the spreadsheet. By default, the last line of code is returned to the spreadsheet.&#x20;

Single referenced cells are put in a variable with the appropriate data type. Multi-line references are placed in a DataFrame. Learn more [here](https://open-2v.gitbook.com/url/docs.quadratichq.com/python)[.](https://open-2v.gitbook.com/url/docs.quadratichq.com/python/reference-cells)&#x20;

<figure><img src="https://2438361843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff1Y5UzPF2x1oIzVJbUK8%2Fuploads%2F1lPTaUWAm45myoMLGZzg%2FCleanShot%202024-12-03%20at%2010.06.45%402x.png?alt=media&#x26;token=228778c0-4aa1-4ce7-b060-24fcd146569e" alt=""><figcaption></figcaption></figure>

To learn more about Python, [visit the Python section of the docs.](https://open-2v.gitbook.com/url/docs.quadratichq.com/python)

### Use Formulas :1234:

Formulas in Quadratic are similar to how you'd expect in any spreadsheet. Formulas are relatively referenced as seen below.&#x20;

<figure><img src="https://2438361843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff1Y5UzPF2x1oIzVJbUK8%2Fuploads%2FbDkzOaV9IWngC4RRN4lB%2FCleanShot%202024-05-30%20at%2011.57.29.gif?alt=media&#x26;token=a429f499-74f8-4b6f-b99f-6caf4cebdaa2" alt="" width="563"><figcaption><p>Basic Formula usage in Quadratic</p></figcaption></figure>

To learn more about Formulas, [visit the Formulas section of the docs. ](https://open-2v.gitbook.com/url/docs.quadratichq.com/formulas)

### Connect to your databases with SQL :house\_with\_garden:

With SQL in Quadratic you can create live connections from your spreadsheets to your data sources. Data from your SQL queries is returned to the sheet, anchored at the position of the SQL cell.&#x20;

Use the AI assistant to rapidly generate accurate SQL queries, and view your SQL schema in the editor's schema viewer. You can learn more [here](https://open-2v.gitbook.com/url/docs.quadratichq.com/connections) or watch a quick SQL demo below.&#x20;

{% @arcade/embed flowId="CItgrkKi7r7wWYwiboxV" url="<https://app.arcade.software/share/CItgrkKi7r7wWYwiboxV>" %}

To learn more about SQL and connections, [visit the SQL section of the docs.](https://open-2v.gitbook.com/url/docs.quadratichq.com/connections)
