# Installing Address Toolkit for i


1. Unzip the downloaded file to `C:\temp` (or the directory of your choice).

2. Create the \*SAVF to upload to on your IBM i:

    `CRTSAVF FILE(QGPL/ATI) AUT(*ALL)`

3. FTP the file ATI.SAVF from your PC to the IBM i. Open a command prompt (Start -> Run -> enter 'cmd' and hit enter). Type the following into the command prompt, replacing the IP address with that of your IBM i. When prompted, enter your IBM i username and password.

    1. `ftp 123.456.789.123`
    2. `binary`
    3. `lcd c:\temp`
    4. `quote site namefmt 0`
    5. `cd QGPL`
    6. `put ATI.savf ATI.savf`
    7. `quit`

4. Restore the library from the \*SAVF:

    `RSTLIB SAVLIB(ATI) DEV(*SAVF) RSTLIB(ATI) SAVF(QGPL/ATI)`

5. Add the library to your library list:

    `ADDLIBLE ATI`

6. Restore the IFS \*SAVF:

    `RST DEV('/qsys.lib/ati.lib/ifs.file') OBJ(('/ktprod/ati' *INCLUDE '/ktprod/ati')) CRTPRNDIR(*YES) PRNDIROWN(QSYS) ALWOBJDIF(*ALL)`

7. Apply your license key:

    `APYLIC LICKEY(<<insert key that was emailed to you>>) PRODUCT(ATI)`

8. Apply your ATI service API key:

    Open the ATI/ATICFGKEY file using UPDDTA or a similar database file modification utility, and enter the key into the provided \*DEFAULT record, and then save the changes.

