# Connecting multiple top-level GitLab groups to a single workspace

1. Make sure you already have a GitLab workspace connected to Aikido.
2. Make sure you are the workspace 'owner' of that Aikido workspace. You can only be made owner by contacting our support via the chat button bottom right.
3. Make sure that a GitLab PAT has been set via <https://app.aikido.dev/onboarding/gitlab/update-workspace-access-token>. **This token should have access to all GitLab groups you want to link so make sure it is linked to a user that has this access.**
4. Once you are on the Aikido feed of the current connected GitLab workspace, go to <https://app.aikido.dev/onboarding/gitlab/connect-multiple-groups>
5. Select the groups you'd like to link to the current Aikido workspace and click 'Save'
6. Aikido will now import the accessible repositories of all linked GitLab groups. This can take a few seconds.
7. Select the repositories you'd like to scan and click 'Next'.
