diff --git a/API.txt b/API.txt
index 189d239..8778cad 100644
--- a/API.txt
+++ b/API.txt
@@ -1,10 +1,23 @@
 # Custom Integration
 
-If you want to integrate your module or another one with maxlength you need some steps.
+The maxlength counter can be added to forms in your own module or another.
+
+At its simplest, the API for a form textfield or textarea requires adding the
+following to your form element in a form builder or hook_form_alter():
+
+  <code>
+    module_load_include('inc', 'maxlength');
+    $form['pony']['#max_length_properties'] = array(
+      'limit' => $limit,
+      'use_js' => TRUE,
+      'text' => t('Your message, where the tokens "!limit", "!remaining" and "!count" are replaced with their values.'),
+    );
+  </code>
+
+If you want to allow user configuration of the maxlength of your form element, you need more steps.
+
+Build settings like this:
 
-* Choose a field name for your thing. This might be for example per nodetype. Let's choose "pony".
-* Allow to configure the maxlength of your form element.
-  * Therefore build settings like this
    <code>
       $form['pony']['maxlength_pony'] = array(
       '#type' => 'textfield',
@@ -29,8 +42,11 @@ If you want to integrate your module or another one with maxlength you need some
       '#description' => t('The text used in the Javascript message under the !type input, where "!limit", "!remaining" and "!count" are replaced by the appropriate numbers.', array('!type' => $label)),
     );
     </code>
-   * Store the maxlength_$field_$setting variables
-* In your actual form function/hook_form_alter you can use
+
+Store the maxlength_$field_$setting variables
+
+In your actual form function/hook_form_alter you can use:
+
   <code>
   module_load_include('inc', 'maxlength');
   $values = maxlength_get_values('pony');
