# Configuring an Ajax Runtime

ATF doesn't shipped an Ajax runtime, but almost any Ajax Runtime can be configured to be used in ATF. After a runtime is configure, it will show up in ATF wizards such as selecting the runtime when creating a project. To configure and Ajax Runtime, download the runtime and unzip/tar the toolkit into a directory.

Open the ATF Preference page for Configuring AJAX Runtimes, Select Window > Preferences... > ATF > AJAX Toolkits

Click the "Add.." button to add a runtime.

Press the "New..." button to define a Ajax Runtime type. Note: For historical reason Ajax Runtime Types for Dojo, Rico, and Scriptaculous have been predefined.

Fill in the "New AJAX Toolkit Type" information.

- Name - A display name for the runtime type (This name is displayed in the wizards
- Id - A unique id for the runtime type. The id will be used to create the name of the directory in the project the rumtime is copied into.

After the Runtime Type has been defined, the type will show up in the drop down box.

Fill in the "New AJAX Runtime Instance"

- Runtime Name - A name to describe the runtime (e.g. myDojo)
- Runtime Version - The version of the runtime. Note: for Dojo, Rico, and Scriptaculous runtime handlers have been created that will detect the version of the runtime.
- Runtime Location - The location of the Runtime. For Dojo this is the directory that contains the Dojo.js file. The ATF infrastructure will access the runtime from this directory. Be careful not to delete this directory.

Click the "OK" button to configure the runtime.