Click on Attach IPython Notebook and select a .ipynb file to attach. The Notebook will be added as a dataset in the Figure folder and can be run directly within your article by clicking the code icon next to the figure.