Import okta users

How can we import all of our okta users in VPN server somehow less manual way?

The users should be instructed to login to the Pritunl web console and then import the profile into the client. The user is automatically created during the first login. If the user is deleted or disabled in Okta the profile will no longer be able to connect and existing connections would end after the hourly check occurs.

but we have multiple servers based one each department and we want only specific users to connect to the specific server respectively and their department wise.

This is done by setting the org SAML attribute, the Okta single sign-on documentation has more information.