Skip to content

[MKC-1878] Shared sketches in IDE #2226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: 'Import Shared Sketches'
difficulty: beginner
description: 'Learn how to import sketches from a shared space into the Arduino IDE.'
tags:
- Arduino Cloud
- Shared Sketches
author: 'Karl Söderby'
---

The Arduino IDE can be synchronized with your [Arduino Cloud](https://app.arduino.cc/) account, which can be used to [work on your Cloud sketches from the Arduino IDE](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/). In the Arduino Cloud, you can also set up shared spaces for collaborating on projects.

In this tutorial, we will learn how to change a setting that allows you to import projects based on a **Space ID**.

***Note that you will need to have a Shared Space already set up to follow this tutorial. Learn more about [shared spaces](https://docs.arduino.cc/arduino-cloud/education/shared-spaces/) in the Arduino Cloud.***

## Requirements

- [Arduino IDE 2 installed](https://www.arduino.cc/en/software).
- [Arduino Cloud](https://app.arduino.cc/) account.

## Retrieve Space ID

1. Log in to your Arduino Account, and navigate to [Cloud App](https://app.arduino.cc/). At the top left bar, click your profile name, select the space, and click on **"Account Settings"**.
2. Copy the ID located under **"Space ID"**.

![Retrieve Space ID from Arduino Cloud.](assets/account-settings.png)

## Enable Shared Space in IDE

1. Open the Arduino IDE, and open the "Preferences" menu, through the command **⌘ + Shift + P (Mac)** or **CTRL + Shift + P (Windows)**. Open the **"Preferences: Open Settings (UI)"**.
![Open settings.](assets/open-preferences.png)

2. Search for "shared", and enter your Space ID in the form field.
![Enter Space ID.](assets/enter-id.png)

3. Go to your sketchbook, click the Cloud icon, and sketches from the shared space should appear.
![Remote Sketchbook.](assets/shared-sketch.png)
Loading