diff --git a/doc/install/install_ai_gateway.md b/doc/install/install_ai_gateway.md
index d21f9c2e48d0061da69ec44a445b05bc2d3cac3d..f6775f007a4d75752dd6a47b38fa28d818680b5d 100644
--- a/doc/install/install_ai_gateway.md
+++ b/doc/install/install_ai_gateway.md
@@ -54,7 +54,7 @@ Using the `:latest` tag is **not recommended** as it can cause incompatibility i
    Replace `<ai-gateway-tag>` with the version that matches your GitLab instance. For example, if your GitLab version is `v17.9.0`, use `self-hosted-v17.9.0-ee`.
    From the container host, accessing `http://localhost:5052` should return `{"error":"No authorization header presented"}`.
 
-1. Ensure that port `5052` is forwarded to the container from the host and configure the AI gateway URL through the Rails console:
+1. Ensure that port `5052` is forwarded to the container from the host and configure the AI gateway URL through the [Rails console](../administration/operations/rails_console.md):
 
    ```ruby
    Ai::Setting.instance.update!(ai_gateway_url: 'http://ai-gateway-host.example.com:5052')