How do I create a service account?

I want to be able to create API keys that aren’t tied to a user so it can be used in scripts. Is there a different process of creating a service account or do I just create a separate user account as a service account?