How to Connect the Slack CLI to a Workspace | Slack
You installed the Slack CLI. Now what? The command slack login connects it to your workspace in seconds.
No workspace yet? The Slack Developer Program gives you a free sandbox to build in.
https://api.slack.com/developer-program