### Install Polis NPM Library
Source: https://github.com/ory/polis/blob/main/npm/README.md
Install the Polis SAML Jackson library using npm. This package can be integrated into any web application framework.
```bash
npm install @boxyhq/saml-jackson
```
--------------------------------
### Create SAML SSO Connection Component
Source: https://github.com/ory/polis/blob/main/components/setup-link-instructions/generic-saml/3.mdx
Use this React component to initiate the creation of a SAML SSO connection. It requires a setup link token and specifies the identity provider type as 'saml'.
```javascript
```
--------------------------------
### Clone and Set Up Fork for Ory Polis
Source: https://github.com/ory/polis/blob/main/CONTRIBUTING.md
Follow these steps to clone the Ory Polis repository, add your fork as a remote, fetch the latest changes, create a new feature branch, and push your work to your fork.
```bash
git clone git@github.com:ory/polis.git
git remote add fork git@github.com:/polis.git
git fetch origin
git checkout main
git pull --rebase
git checkout -b my-feature-branch
git add -A
git commit -a -m "fix: this is the subject line" -m "This is the body line. Closes #123"
git push -u fork my-feature-branch
```
--------------------------------
### Run End-to-End Tests
Source: https://github.com/ory/polis/blob/main/README.md
Execute the end-to-end tests for Ory Polis. Ensure you have a `.env.test.local` file configured.
```zsh
npm run test:e2e
```
--------------------------------
### Footer Component
Source: https://github.com/ory/polis/blob/main/components/setup-link-instructions/google/4.mdx
A footer component that indicates the availability of a next step. Set 'hasNext' to false when there are no further steps.
```javascript
```
--------------------------------
### Set ADFS Relying Party Trust SAML Response Signature
Source: https://github.com/ory/polis/blob/main/components/setup-link-instructions/microsoft-adfs/3.mdx
Run this PowerShell command to configure the SAML response signature for a relying party trust. Replace with the actual display name of your relying party trust.
```powershell
Set-ADFSRelyingPartyTrust -TargetName -SamlResponseSignature "MessageAndAssertion"
```
--------------------------------
### ADFS Claim Rule for NameID Email Format
Source: https://github.com/ory/polis/blob/main/components/setup-link-instructions/microsoft-adfs/3.mdx
Use this claim rule to transform the incoming Email-Address to the outgoing NameID with the Email format. This prevents 'InvalidNameIDPolicy' errors.
```sh
c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"] => issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"] = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress");
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.