Code Ocean DOIs are a combination of two things: the prefix 10.24433/CO. , and the capsule ID on Code Ocean, e.g. A published capsule's DOI is available in its metadata page, under the Basic Info section. This field will be auto-populated upon publication. 

If you need to know the future DOI for your capsule ahead of publication, you can find out the capsule ID from its URL – it's the portion following the word "capsule."

A DOI will not link to code until after publication.

Did this answer your question?