On the AppEnginer based Cloud-Datalab you did not need to set up project since it was already set up.
On the new version based on docker, the documentation and tutorials seems to assume that the project is already set up, but once you run storage comments API or magic functions, then an error pops.
I can make it work by manually adding %%projects set <proj_d>
. I wonder if this is an issue with incomplete documentation (typical with GCP documentation) or if somehow my container running datalab broke down or I did not set it up correctly.