Projects don’t need to be created preemptively. They show up after traces arrive. You can try the code snippet above and it’ll create the projects. You can then delete those projects, and if you run the snippet again, the projects will show up again.