## Create the Address Element

`elements.create(type: 'address', options: object)`

This method creates an instance of the Address Element.

**NOTE**: If you are creating multiple instances of the Address Element, configuration of the checkbox to sync shipping and billing addresses exists in the creation of the [Elements](https://docs.stripe.com/js/elements_object/create.md#stripe_elements-options-syncAddressCheckbox) instance.

- `type` The type of Element being created, which is `address` in this case. You can create multiple Address Elements, one of each mode, in a single Elements instance.
- `options` Options for creating the Address Element.
- `mode` Specify which mode you would like to use Address Element for. When `shipping` mode is used with the Payment Element and Link Authentication Element, it will automatically pass shipping information when confirming Payment Intent or Setup Intent. When `billing` mode is used with the Payment Element, it will automatically pass the billing information when confirming Payment Intent or Setup Intent.
- `autocomplete` By default, the Address Element will have autocomplete enabled with Stripe provided Google Maps API key for certain countries if any of the following condition is met:
    * If Payment Element is mounted in the same elements group as Address Element in a single page application.
    * If the Address Element is used in an active Link session.
    [Contact Legal before editing or deleting the Google Maps autocomplete callout]: # By using autocomplete, you agree to comply with the [Google Maps Platform Acceptable Use Policy](https://cloud.google.com/maps-platform/terms/aup). If you violate this policy, we might disable autocomplete, or take any other action as necessary. You can customize the autocomplete setting with this option.
- `mode` Specify `disabled` to disable autocomplete in the Address Element. Specify `google_maps_api` to enable [Google Maps API](https://developers.google.com/maps/documentation/javascript/places) with your own key. It will only be used when Stripe provided Google Maps API key is not available. The default setting is `automatic`,