You can use install it via NPM:
$ npm install gitbook-plugin-tufte
And use it for your book with:
$ gitbook build ./ --plugins=tufte
To add a sidenote, write code in your .md File like this:
{% sidenode num="1"%}
see <a href="www.baidu.com">www.baidu.com</a>
{% endsidenode %}