To find the project ID first you need to go to the project you want to find the ID of.
Then, take a look at the URL in the address bar of your browser:
You'll see the ID after the text /projects/
In the example above the project ID is 4159
This article will describle how to find the unique ID number of a project