01 Getting started

The initial setup takes a couple of minutes, but when you're done you'll have a digital garden in which you are in control of every part of it, and can customize it as you see fit. Which is what makes digital gardens so delightful.

  1. Download and install the community plugin Digital Garden in Obsidian.

  1. Next, you will need a GitHub account. If you don't have this, create one here.

  1. You'll also need a Vercel account. You can sign up using your GitHub account here

  1. Open this repo, and click the blue "Deploy to Vercel" button.

CleanShot 2023-01-22 at 23.38.57@2x.png
This should open Vercel and create a copy of this repository in your GitHub accont. Give it a fitting name like 'my-digital-garden'. Follow the steps in Vercel to publish your site to the internet.

  1. Next you need to create an access token to your GitHub Account. This acts as a sort of password so that the plugin can add new notes to your GitHub repository on your behalf. Go to this page while logged in to GitHub. The correct settings should already be applied. (If you don't want to generate this every few months, choose the "No expiration" option.) Click the "Generate token" button, and copy the token you are presented with on the next page.
A more secure option

GitHub has recently launced a new beta feature, where you can target what repositories the token has access to. This is currently the most secure way to use the plugin. See Fine grained access token for details on how to generate this.

  1. Open Obsidian and the settings for "Digital Garden" and fill in your GitHub username, the name of the repo with your notes which you created in step 3, and lastly paste in your token.
    CleanShot 2023-10-12 at 17.06.27@2x.png

  2. Now, let's publish your first note! Create a new note in Obsidian. Now add two new properties to the note.

This does two things:

  1. Open your command pallete by pressing CTRL+P on Windows/Linux (CMD+P on Mac) and find the "Digital Garden: Publish Single Note" command. Press enter.

  1. Go to your site's URL which you should find on Vercel. If nothing shows up yet, wait a minute and refresh. Your note should now appear.

Congratulations, you now have your own personal part of the internet in the form of a digital garden, for free 🎉.

You can now start adding links as you usually would in Obisidan, with double square brackets, to the note that you just published.

Remember to also publish the notes your are linking to as this will not happen automatically. This is by design. You are always in control of what notes you actually want to publish. If you did not publish a linked note, the link will simply lead to a site telling the user that this note does not exist.

If you want to unpublish a note, without deleting the note from your vault, simply uncheck or remove the dg-publish property in the note, open the publication center and click the "Delete notes from garden" button.

Now that you are up and running, you can take a look at the available commands or the various available note settings. Or maybe you want to change your theme?

Next: Commands >