diff --git a/doc/source/conf.py b/doc/source/conf.py
index 80dfdef18b60dfec23ef5d2c186323022919de25..ccec9856a6dcafd9a9bd8c9b37abb01ba73cfdd3 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -107,6 +107,15 @@ pygments_style = 'sphinx'
 # Do not show all class members automatically in the class documentation
 numpydoc_show_class_members = False
 
+# Jupyter Sphinx config
+
+jupyter_sphinx_thebelab_config = {
+    "binderOptions": {
+        "repo": "kwant-project/binder",
+        "ref": "master",
+    }
+}
+
 # -- Options for HTML output ---------------------------------------------------
 
 # The theme to use for HTML and HTML Help pages.  Major themes that come with