It is obtained without formalities, only with the creation of the project, without other formulation.
To ensure the creator, there are several ways to verify the creation date of the project.
It is common to submit the project (if it is written) in a sealed envelope to a notary, as proof of the identity of the author and the date of creation of the work.
It is just as common to send the original work by registered mail from the creator to himself.
It is protected, in case of infringement, ie copying without permission, etc. with action in the competent court. The lawsuit seeks to solve the problem. It may also seek compensation for any damage that may have been caused from the violation of that right.