calling categories in a custom post type

By adding the ‘taxonomies’ argument:

'public' => true,
'taxonomies' => array( 'category', 'post_tag' ),