M0 - Second Brain Setup (Obsidian + Digital Garden)

how to setup your second brain and website

create an account on https://github.com
create an account on https://vercel.com

after creating account on github and vercel , go to this url
https://obsidian.md and download obsidian and install it on your pc


Obsidian / Digitial Garden Setup

Step 1

Pasted image 20260427163845.png

Step 2

Pasted image 20260427163912.png

Step 3

Pasted image 20260427163941.png

Step 4

Pasted image 20260427164037.png

Step 5

Pasted image 20260427164050.png

Step 6

Pasted image 20260427164116.png

Step 7

Pasted image 20260427164143.png

Step 8

Pasted image 20260427164156.png

Now as u see we need three things in this digital garden option
we need to connect our obsidian to github via digital garden
so digital garden needs our
github username
github token
`github repo name


steps to get github repo and website

step 1

visit this url
https://github.com/oleeskild/digitalgarden

Pasted image 20260427164316.png

step 2

Warning

u must have 2 accounts , which we made in above steps

  1. github account
  2. vercel account signed with github

give any repository name in this section
i selected - testt-digital-garden

Pasted image 20260427164359.png
Pasted image 20260427164459.png

step 3

now we have our template website ready click on this box to see your website
Pasted image 20260427164522.png

this is our website as of now we dont have any notes
In next steps we will push our notes and select themes from obsidain as we like
Pasted image 20260427164553.png


steps to get github token

step 1

now go to github
settings >> developer settings >> fined grain access token

Pasted image 20260427164655.png

step 2

Pasted image 20260427164738.png

Pasted image 20260427164949.png

step 3

select this permissions to give to this key and share it with obisidain

Pasted image 20260427165207.png

Pasted image 20260427165311.png


Final connection

this steps connect digital garden to github which allows obsidian to push notes to github

now the whole connection is complete where the obisdian is connected to github via digital garden and the github is connected to vercel

step 1

Pasted image 20260427165516.png

Pasted image 20260427165612.png

this global note setting allows us to show all the files notes in in sidebar of the website
Pasted image 20260427165924.png

step 2

create a new file and at the top of new file put 3 - hypens which opens a metadata ui
where write dg-publish then on the icon of digipublish do right click and change Property-type to checkbox
Pasted image 20260429141121.png
this is needed as it gives permission to push that file to website/github

Pasted image 20260427170119.png

step 3

now click on the leaves button click on the checkbox and click on publish selected
Pasted image 20260427170145.png

now the website looks like this

Pasted image 20260429141314.png

to change themes of the website go to settings > digital garden > Appearence
select any theme scroll down and click on apply to site

Pasted image 20260429141352.png

Pasted image 20260429141442.png

Pasted image 20260429141805.png


references