# Using Word coded automation APIs

> To use the Word coded automation APIs, apply the following steps:

To use the Word coded automation APIs, apply the following steps:

1. Download the activity package.
2. Create a **Coded Workflow**.
3. Call the `word.UseWordDocument` method to retrieve the handle of a Word file.

   :::note
   By default, this method uses the Word options from **Project settings** for the resulting handle. However, you can change this behavior by overriding the default options if you use a `WordUseOptions` object as a parameter, and set its properties as needed.
   :::
4. Use the handle to perform actions. With the Word coded automation, you should be able to perform the same operations as with the Word modern activities in a `.xaml` file.

   :::note
   The Word activities are implemented in the Coded service as extension methods for handles. To check all the available extension methods, type `WordOperations.` and then **Ctrl** + **Space**.
   :::
