About ksm account

How to generate an account, can I generate it offline.

I can’t find related documentation.