Visitors to the state Capitol in Juneau will have to go through a metal detector under a policy adopted on Monday.