# Set up Stripe Tax

Enable Stripe Tax to automatically calculate and collect tax.

To set up Stripe Tax, configure your tax settings through the Dashboard on the tax settings page. Alternatively, you can use the Tax Settings API. Depending on your integration, add one line of code to enable tax.

If you’re a platform that wants to set up Stripe Tax for your connected accounts that are responsible for collecting, filing, and reporting taxes, see [Tax for software platforms](/tax/tax-for-platforms).

## Get started with a video demo

This short video shows you how to enable automatic tax collection through the Dashboard.

## Set your head office address

Your head office is where your business is located or, if you sell physical goods, the address where you’re shipping goods from.

By default, we set your head office address to your Stripe business address so you only need to review and confirm that your details are correct on the tax settings page. Alternatively, you can retrieve and update your head office address using the API.

## Select your preset tax code

A tax code is a classification of your product or service for Stripe Tax. We use this to make sure that the correct tax rate is applied to your transactions.

**Preset product tax code:** The preset product tax code