{"id":"006f178f-725e-41ff-82a9-60a21c65b1a0","task_name":"Add GitHub Integration","summary":"This workflow authorizes Nia (a Search & Index API for Agents) to access your GitHub account via OAuth, enabling Nia to index and search public repositories while respecting GitHub's API rate limits. Use this when you want Nia to work with GitHub repositories as a data source.","description":"Connects a GitHub account to Trynia.ai by authorizing and installing the GitHub integration.","tools_used":[],"agent_steps":[{"step_number":1,"action_type":"click","url":"https://app.trynia.ai/home","element":{"name":"Integrations","role":"link","selector":"","xpath":"//html/body/div[2]/div/div/div[1]/div[1]/div[2]/div[7]/a[2]","attributes":{"href":"/settings/integrations"}},"value":"","keys":[],"file_paths":[],"description":"Navigate to the Integrations section of Nia by clicking the Integrations link in your app sidebar or navigation menu. This page shows all available external data sources and connectors that Nia supports."},{"step_number":2,"action_type":"click","url":"https://app.trynia.ai/settings/integrations","element":{"name":"Connect","role":"button","selector":"","xpath":"//html/body/div[2]/div/div/main/div[1]/main/div/div[3]/div[1]/button","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Click the Connect button next to GitHub (or in the GitHub connector card) to begin the OAuth authorization process. This initiates the handshake between Nia and GitHub."},{"step_number":3,"action_type":"navigate","url":"https://github.com/apps/nia-apps/installations/new?state=user_3DPBhW9CGQJYViZJUPRlaeJ747b&redirect_uri=https%3A%2F%2Fapp.trynia.ai%2Fapi%2Fgithub%2Fcallback%3Fredirect_url%3D%252Fsettings%252Fintegrations","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Your browser automatically navigates to GitHub's authentication page. This is the beginning of GitHub's OAuth flow, where you will authorize Nia's access."},{"step_number":4,"action_type":"click","url":"https://github.com/apps/nia-apps/installations/new?state=user_3DPBhW9CGQJYViZJUPRlaeJ747b&redirect_uri=https%3A%2F%2Fapp.trynia.ai%2Fapi%2Fgithub%2Fcallback%3Fredirect_url%3D%252Fsettings%252Fintegrations","element":{"name":"Continue as rahul-browzer","role":"button","selector":"","xpath":"//html/body/div[1]/div[5]/main/div/div[3]/div[1]/div[2]/a","attributes":{"href":"/apps/nia-apps/installations/select_target?redirect_uri=https%3A%2F%2Fapp.trynia.ai%2Fapi%2Fgithub%2Fcallback%3Fredirect_url%3D%252Fsettings%252Fintegrations&state=user_3DPBhW9CGQJYViZJUPRlaeJ747b","aria-label":"Continue as rahul-browzer"}},"value":"","keys":[],"file_paths":[],"description":"GitHub displays your currently logged-in account. Click the 'Continue as [your-username]' button to proceed with authorization using this account. If the wrong account is shown, do not continue; instead, sign out of GitHub and return to Nia to start over."},{"step_number":5,"action_type":"navigate","url":"https://github.com/apps/nia-apps/installations/select_target?redirect_uri=https%3A%2F%2Fapp.trynia.ai%2Fapi%2Fgithub%2Fcallback%3Fredirect_url%3D%252Fsettings%252Fintegrations&state=user_3DPBhW9CGQJYViZJUPRlaeJ747b","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Your browser navigates to GitHub's app authorization confirmation page, where you review the permissions and settings for the Nia app."},{"step_number":6,"action_type":"click","url":"https://github.com/apps/nia-apps/installations/select_target?redirect_uri=https%3A%2F%2Fapp.trynia.ai%2Fapi%2Fgithub%2Fcallback%3Fredirect_url%3D%252Fsettings%252Fintegrations&state=user_3DPBhW9CGQJYViZJUPRlaeJ747b","element":{"name":"BrowzerLabs","role":"link","selector":"","xpath":"//html/body/div[1]/div[6]/main/div/div[2]/div/a[3]","attributes":{"href":"https://github.com/apps/nia-apps/installations/new/permissions?state=user_3DPBhW9CGQJYViZJUPRlaeJ747b&target_id=210106008&target_type=Organization"}},"value":"","keys":[],"file_paths":[],"description":"On the authorization page, select the organization or account scope to grant Nia access to. Click on the organization name (e.g., 'BrowzerLabs') if you want to install the app for that organization, or use the current personal account scope if you prefer."},{"step_number":7,"action_type":"navigate","url":"https://github.com/apps/nia-apps/installations/new/permissions?state=user_3DPBhW9CGQJYViZJUPRlaeJ747b&target_id=210106008&target_type=Organization","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Review the final confirmation screen showing the Nia app's requested permissions and repository access scope. This is your last chance to review what you are authorizing before installation."},{"step_number":8,"action_type":"click","url":"https://github.com/apps/nia-apps/installations/new/permissions?state=user_3DPBhW9CGQJYViZJUPRlaeJ747b&target_id=210106008&target_type=Organization","element":{"name":"Install & Authorize","role":"button","selector":"","xpath":"//html/body/div[1]/div[6]/main/div/div[2]/div/form/button","attributes":{"type":"submit","data-ga-click":"Integrations, integration installed, marketplace_listing_id:;came_from_marketplace:false;paid_marketplace_plan_purchased:false","data-octo-click":"install_integration","data-disable-with":"Installing & Authorizing","data-view-component":"true","data-octo-dimensions":"marketplace_listing_id:,came_from_marketplace:false,paid_marketplace_plan_purchased:false"}},"value":"","keys":[],"file_paths":[],"description":"Click the 'Install & Authorize' button to complete the OAuth authorization. This grants Nia permission to access your GitHub account and repositories according to the scope you selected."},{"step_number":9,"action_type":"navigate","url":"https://github.com/apps/nia-apps/installations","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"After clicking Install & Authorize, GitHub processes your request and prepares to redirect you back to Nia. You may see a brief confirmation or processing screen."},{"step_number":10,"action_type":"navigate","url":"https://app.trynia.ai/api/github/callback?code=14cc3e01db5e864b906c&installation_id=132355731&setup_action=install&state=user_3DPBhW9CGQJYViZJUPRlaeJ747b","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"Your browser automatically redirects back to app.trynia.ai to complete the integration. Nia receives and processes the OAuth callback, which finalizes the GitHub connector installation."},{"step_number":11,"action_type":"navigate","url":"https://app.trynia.ai/settings/integrations?success=true&provider=github","element":{"name":"","role":"","selector":"","xpath":"","attributes":{}},"value":"","keys":[],"file_paths":[],"description":"You are returned to app.trynia.ai and the integration setup is complete. The GitHub connector is now installed and linked to your Nia account. You can now configure sync settings, trigger indexing, and begin searching GitHub repository data."}]}