In a press release, the Salem Police Department said the detective had also been communicating with Smith by phone and through text messages, and had asked her to come to Salem to complete the transaction.

The two were set to meet inside the detective's place of employment — the Salem police station.

From the Salem Police Dept. statement:

In order to get to the door where she was arrested, the suspect walked through a courtyard where the clearly marked public entrance to the Salem Police Department is located. She also walked directly past several uniformed police officers.