> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/~/revisions/KY3QqEqZPV6ifxqjwoLa/aikido-autofix/connect-private-packages/npm-private-packages.md).

# Azure DevOps Artifact Feed - Private Packages

To connect to a private artifact feed on Azure DevOps, you can follow the steps below. We will use the custom `.npmrc` file config option from the private registry configuration modal.

<img src="https://3149773201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-30ca98e5edf5fda343ea014700ff288246422973%2Fnpm-private-packages_3cb6e5c8-0188-41fc-b028-84b8187b66f1.png?alt=media" alt="Connect Aikido to a private registry by configuring your package manager credentials." width="563">

* in Azure Devops, navigate to the "Artifacts" page of the project, click on "Connect to Feed" button and select "NPM" from the list
* You will now land on page describing how to setup the project, select "Other" From the project setup tabs, you should see a page with setup instructions similar to this

  ![Azure npm registry setup instructions with authentication and access token configuration steps.](https://3149773201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-f28f1a8c4c8d0fcd33b598a02636306a1907088f%2Fnpm-private-packages_96a38411-3187-43bf-84b0-02d5ec4785b8.png?alt=media)
* Follow the steps described and add all the required information for the .npmrc file in the input field in the Aikido configuration modal. At the end, the file's content should look similar to this:

  ```
  registry=https://pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/registry/ 
  always-auth=true
  ; begin auth token
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/registry/:username=[YOUR_USER]
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/registry/:_password=bmV2ZXIgZ29ubmEgZ2l2ZSB5b3UgdXA=
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/registry/:email=npm requires email to be set but doesn't use the value
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/:username=[YOUR_USER]
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/:_password=bmV2ZXIgZ29ubmEgZ2l2ZSB5b3UgdXA=
  //pkgs.dev.azure.com/[ORG]/_packaging/[FEED]/npm/:email=npm requires email to be set but doesn't use the value; end auth token 
  ; end auth token
  ```
* Click on "Apply Changes"
* Aikido will now provide that file to the autofix application for JS dependency fixes for your Azure DevOps repos.


---

# 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://help.aikido.dev/~/revisions/KY3QqEqZPV6ifxqjwoLa/aikido-autofix/connect-private-packages/npm-private-packages.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.
