> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/opsmx-1/opsmx-context-engine/additional-resources/previous-releases/isd-3.10/opsmx-intelligent-software-delivery-platform/opsmx-isd-setup/opsmx-agent/agent-service-configuration.md).

# Agent Service Configuration

{% hint style="info" %}
This is an older version of the document. To view the most recent version of the document, click [here](https://docs.opsmx.com/quickstart-guide/agent-configuration/configure-an-agent).
{% endhint %}

Services are configured from the "opsmx-services-agentX" user-supplied configmap.  There should be one key, 'services.yaml', which defines the services this Agent advertises to ISD, and the credentials needed to provide access.<br>

The "name" element is advertised to ISD, and will be the name used for the associated Spinnaker account configuration.  This name will be presented to ISD users.<br>

Renaming an account is not possible, and will require deleting and re-creating the account through the ISD interface.<br>

Only services explicitly marked as "enabled: true" will be advertised to Spinnaker.<br>

Example: <br>

```
apiVersion: v1
kind: ConfigMap
metadata:
  name: opsmx-services-agent1
  namespace: opsmx-agent-agent1
  labels:
    agent.opsmx.com/name: agent1
    agent.opsmx.com/role: agent
data:
  services.yaml: |
    services:
      - name: dev jenkins
        type: jenkins
        enabled: true
        config:
          url: https://dev.jenkins.example.com:8080
          credentials:
            type: basic
            secretName: dev-jenkins-secret
      - name: artifactory-test
        type: artifactory
        enabled: true
        config:
          url: https://artifactory.example.com
          credentials:
            type: bearer
            secretName: artifactory-secret
      - name: kubernetes1
        type: kubernetes
        enabled: true
        namespaces:
          - name: kubernetes1-ns-test
            namespaces:
              - test
          - name: kubernetes-ns-default
            namespaces:
              - default
              - test

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.opsmx.com/opsmx-1/opsmx-context-engine/additional-resources/previous-releases/isd-3.10/opsmx-intelligent-software-delivery-platform/opsmx-isd-setup/opsmx-agent/agent-service-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
