In the chart of account, create the fixed asset account, and accumulated depreciation account
then it depends, usually the Fair Market Value of the asset is used as the cost and the offsetting entry is Other Income.
But you should refer to IRS Pub 561, there are options depending on what type of fixed asset it is