Once you've created your widget, on your final code you will see the space attribute and the id of the current space you chose. This has to be replaced with the id of the new space, which you will find on the search bar URL when clicking on said space.