Accountants define the cost of an asset as all of the costs that are necessary to obtain the asset and to get it ready for use.
If your state does not allow an exemption from sales tax for the asset you purchased, the sales tax should be recorded as part of the cost of the asset.