The app gets automatically installed into your published theme when you open it.
You can manually add the code to the unpublished theme you are testing by following these instructions.
The app gets automatically installed into your published theme when you open it.