In order to obtain your access token (that can then be used to query data from the data dock), you need to navigate to the security tab in the sidebar.
Then just go to the “Access token” section and click on the copy button to copy your access token to the clipboard.