How can I set up the URL for a category archive for a custom post type?

How can I set up the URL for a category archive for a custom post type?