How to get access_token for using chat?

Why not?

Did you request the chat_login scope?