# Guide to OpenIG
Chapter 10. Tutorial For the Federation Gateway

Sidebar | Prev | Up | Next

## 10.3. Configuring OpenIG For Federation

Download the Federation to WordPress Sample Config File and copy it to `$HOME/.ForgeRock/OpenIG/config.json`, overwriting the `config.json` from the WordPress tutorial.

Assuming `Fedlet.zip` from the previous step is found in `$HOME/openam/myfedlets/Fedlet.zip` extract the Fedlet configuration files using the following commands:

    $ cd $HOME/openam/myfedlets
    $ unzip Fedlet.zip
    $ jar xvf Fedlet.war conf

Create a `$HOME/.ForgeRock/SAML/` directory, and copy the Fedlet configuration to the new directory.

    $ mkdir $HOME/.ForgeRock/SAML
    $ cp conf/* $HOME/.ForgeRock/SAML
    $ ls $HOME/.ForgeRock/SAML
    FederationConfig.properties    idp-extended.xml        sp-extended.xml
    fedlet.cot                     idp.xml                 sp.xm