To create a post type, go to wp-admin > Post types > Create post type
On the “New post type” screen provide
The post type key is an identifier for your post type and has to be unique. While you can make changes to the singular and plural name even after the post type is created, making changes to the key is not allowed after creation.