In order to add your Notebook to an existing web server, you need to take the preceding steps and add a little more information to the Notebook configuration file, as in the following example:
c.NotebookApp.tornado_settings = {
'headers': {
'Content-Security-Policy': "frame-ancestors 'https://yourwebsite.com' 'self' "
}
}
Here, you replace yourwebsite.com with the URL of your website.
Once complete, you can access the Notebook through your website.