Sourcegraph connector
Connect Sourcegraph to Okou
Connect Sourcegraph to run the documented read-only GraphQL diagnostics query for the authenticated user.
- Category
- Engineering
- Connection
- Access Token
- Access
- Read and write
- Setup
- No code required
What Okou can do with Sourcegraph
Manage
- Run the documented read-only currentUser GraphQL query for the authenticated Sourcegraph user.
How to connect Sourcegraph to Okou
- 1
Open Connectors
In your Okou workspace, open Connectors, search for Sourcegraph, and select Connect. Okou can also ask you to connect Sourcegraph during a chat.
- 2
Add your credentials
Enter the credentials Sourcegraph provides in the connection form. Do not paste them into a chat.
- 3
Review permissions
If an action needs your approval, Okou asks in the chat and you choose how long to allow it. Adjust allowed actions from Connectors at any time.
- 4
Describe the work
Ask for the outcome in a chat, or save it as a workflow that runs on a schedule.
Permissions and security
- Connecting Sourcegraph and allowing Okou to use it are separate steps. If a task needs an action that is not allowed yet, Okou asks in the chat and you choose how long to allow it.
- You can change which Sourcegraph actions Okou may take at any time from Connectors.
- Your Sourcegraph credentials are stored on the platform and added to each request at the network boundary. They are not exposed to the agent.
- Each teammate connects their own Sourcegraph account. Sharing a workflow does not share your connection.
- Disconnect Sourcegraph from Connectors to remove it from future runs.
Sourcegraph connector questions
- What can Okou do with Sourcegraph?
- Connect Sourcegraph to run the documented read-only GraphQL diagnostics query for the authenticated user. Documented actions include: Run the documented read-only currentUser GraphQL query for the authenticated Sourcegraph user.
- How do I connect Sourcegraph to Okou?
- Open Okou, choose Sourcegraph, and follow the connection steps shown for your account.
Put Sourcegraph to work with Okou
Connect Sourcegraph, describe the outcome, and review the result.

