Create service account without needing a password change

I want to create a gitlab account for an external service to pull/push git and to upload/download artifacts. I can create the user automatically using the API, but the account is not active until it logs in via the API and changes its password. How can I skip human step?