> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/products/cc-hardware/credentials/encoding-solutions/encoding-kiosk/encoding-kiosk-adding-a-gallagher-cred.md).

# Add a Gallagher credential

Add a second Gallagher credential to a DESFire card with Encoding Kiosk.

This procedure adds a second Gallagher access credential to an already-encoded DESFire card. The new credential uses the same card number as the original, but a different Facility Code and a different Site Specific Key. It is documented for the CC 9.40 release of the tool.

### Requirements

1. SSK for the Primary Site and password for the SSK file.
2. SSK for the Secondary Site and password for the SSK file.
3. A licence with `EncodingKioskApp=1` and `Encoding=1` under features, and both Facility Codes listed under `EncodingKioskFCs`.
4. A C41007 USB encoder.

### Configure the User Interface tab

1. On startup, go to the **User Interface** tab.
2. Set a Configuration Password and select **Save**.

![Encoding Kiosk step 1](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-19a1d111fa860a8f45baaa48731e51f772961c1a%2FSECHUB-ENCODING-KIOSK-01.png?alt=media)

### Configure the Primary Site credential

3. Go to the **Credentials** tab and select **+**.
4. Enter a name for the Primary encoding credential. This is the system that encoded the card first.
5. Change the Credential Party from **Third party** to **Gallagher**.

![Encoding Kiosk step 2](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-da96c844ee82cf0640305c49c467c446011aab91%2FSECHUB-ENCODING-KIOSK-02.png?alt=media)

![Encoding Kiosk step 3](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-9e679097da5d47abf1ea0153ca546c67f48ae159%2FSECHUB-ENCODING-KIOSK-03.png?alt=media)

6. Select **MIFARE DESFire** to add the SSK from the Primary Site.
7. Select **+**, select **Gallagher Key Seed**, then select the folder icon.

![Encoding Kiosk step 4](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-0be080ce3871c3f6095cdd2ec9a673caa1bbdc2a%2FSECHUB-ENCODING-KIOSK-04.png?alt=media)

![Encoding Kiosk step 5](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-1bfbea596a24ebd2754c71fc624fb1fcc78199d7%2FSECHUB-ENCODING-KIOSK-05.png?alt=media)

8. Follow the dialog to load the keys from the Primary Site.
9. Because this is the first site that encoded the card, add a **Default App Key**. Select the folder and add the same SSK you added above. It contains the Default App Key.

![Encoding Kiosk step 6](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-09b301119987c30940755ad2e3188bc580b1a519%2FSECHUB-ENCODING-KIOSK-06.png?alt=media)

![Encoding Kiosk step 7](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-3fcef84bf8a2ba570b5aacfc696e53e607f1151e%2FSECHUB-ENCODING-KIOSK-07.png?alt=media)

10. Select **OK**. You should now have the Primary keys loaded.

![Encoding Kiosk step 8](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-958d72eb58e10054169009558ae3e372b43bfbb2%2FSECHUB-ENCODING-KIOSK-08.png?alt=media)

![Encoding Kiosk step 9](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-cff38a1a8bff8ec5f2b4915a232c23cd2aaefb9e%2FSECHUB-ENCODING-KIOSK-09.png?alt=media)

### Configure the Secondary Site credential

11. Select **+** again.
12. Enter a name for the Secondary Site details and select **Gallagher** under Credential Party.

![Encoding Kiosk step 10](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-590ff16e639cb51fae37bb1d05404c519fcb29c0%2FSECHUB-ENCODING-KIOSK-10.png?alt=media)

13. Select the **MIFARE DESFire** tab.
14. Add the **Gallagher Key Seed** option and select the folder. Follow the dialog to add the SSK keys from the Secondary Site.

![Encoding Kiosk step 11](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-fb0dcf4833c4a78ff10599bb8bb7a0ae275bf24d%2FSECHUB-ENCODING-KIOSK-11.png?alt=media)

![Encoding Kiosk step 12](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-de5b8ee811ea091bfa2b25cab37b7b7de1cadf15%2FSECHUB-ENCODING-KIOSK-12.png?alt=media)

15. Select **OK**.

![Encoding Kiosk step 13](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-c9fe7c24095bcc8c1ee6ef7cd6abefdebd846187%2FSECHUB-ENCODING-KIOSK-13.png?alt=media)

{% hint style="info" %}
Additional secondary sites can be added at this stage to encode more Gallagher access objects onto cards if required.
{% endhint %}

### Configure the Mappings tab

16. Select the **Mappings** tab, then select **+**.
17. Configure the Kiosk to look for the credential of the source Facility Code, and put on a new credential with the Facility Code in the Destination Value. Both must be on the licence.

![Encoding Kiosk step 14](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-00e799d5ffe320b4cc3d2f51ee92ea7f735d2adf%2FSECHUB-ENCODING-KIOSK-14.png?alt=media)

### Configure the Channels tab

18. Select the **Channels** tab, then select **+**.
19. Select the Secondary Site as the Destination Credential.

![Encoding Kiosk step 15](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-c5ee559d5ec62f92366b7466bddd6502d772a3ed%2FSECHUB-ENCODING-KIOSK-15.png?alt=media)

20. Select **+** to configure the second credential to be encoded from the Facility Code.

![Encoding Kiosk step 16](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-0627adf4123b0b0f9d1db6f563cecea6190fa0be%2FSECHUB-ENCODING-KIOSK-16.png?alt=media)

21. Select **OK**.
22. Check the box under **Enable**.

![Encoding Kiosk step 17](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-cfa5bd71b5543c002eec0b6be55102b1387dbe25%2FSECHUB-ENCODING-KIOSK-17.png?alt=media)

23. Select **Save**.
24. Select **Verify**. The tool checks whether it has enough data to encode.

![Encoding Kiosk step 18](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-0e1af03f1836cce07894a030314a2f625ed0bd45%2FSECHUB-ENCODING-KIOSK-18.png?alt=media)

***

🔗 **Related**

* [Encoding Kiosk - Useage](/knowledge-hub/products/cc-hardware/credentials/encoding-solutions/encoding-kiosk/encoding-kiosk-useage.md). Running the Kiosk once configuration is complete.
* [Encoding Kiosk - Hardening Guide](/knowledge-hub/products/cc-hardware/credentials/encoding-solutions/encoding-kiosk/product-name-here-how-to-guide.md). Locking down the Windows environment the Kiosk runs in.
* [Credentials - Keys](/knowledge-hub/products/cc-hardware/credentials/credential-information/credentials-keys.md). What the Site Specific Key and Default Application Key each do.
* [Bureau Encoding How to Use](/knowledge-hub/products/cc-hardware/credentials/encoding-solutions/bureau-encoding/bureau-encoding-how-to-use.md). The Bureau alternative for adding a second Gallagher object to a card.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/products/cc-hardware/credentials/encoding-solutions/encoding-kiosk/encoding-kiosk-adding-a-gallagher-cred.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
