The FBI have confirmed the powerful explosion at a building in Palm Springs that injured five people on Saturday morning was a terror attack.

'Make no mistake: This is an intentional act of terrorism,' Akil Davis, the head of the FBI's Los Angeles field office, told an evening news conference.

The suspect, who died in the blast at the American Reproductive Centers on North Indian Canyon Drive, near East Tachevah Drive, also attempted to record video or stream the attack.

They also posted online writings prior to the explosion that investigators are treating as an act of terrorism, a law enforcement official said.

The posts, which the suspect believed should have been populated, appear to have helped investigators uncover that the attack was targeted and intentional.