Nevada is officially the first state to approve self-driving cars. On Thursday, Nevada approved rules for testing driverless cars on state roads.

"Nevada is the first state to embrace what is surely the future of automobiles," Bruce Breslow, director of the Nevada Department of Motor Vehicles said in a statement. "These regulations establish requirements companies must meet to test their vehicles on Nevada's public roadways as well as requirements for residents to legally operate them in the future."

According to reports Google worked closely with the Nevada state Legislature to pass the law making the testing of robotic cars legal. But the state went further, according to an National Public Radio report, and the states' Department of Motor Vehicles created a first of its kind driver's license for robot cars.

Self-driving cars aren't ready for consumers--they're still a few years out--but they are ready to be tested on public highways. According to the Associated Press, companies that want to test self-driving cars will need a bond of $1 million to $3 million, depending on how many cars they want to test. Cars must have two people inside them at all times, one of whom must be able to take control if necessary.

"They have to take us out and prove that they can do it," Breslow told the AP. "They're not ready to go to market yet."

Cars also have to be equipped with data collectors (like an airplane black box), and will have red license plates. If the cars are approved for public the cars will have green license plates (regular Nevada license plates are grayish-blue). If cars are approved, a person can operate the vehicle "without being physically present," according to one provision. But the person operating the vehicle--present or not--will be held responsible for what the car does.

According to Breslow, operators of driverless cars will be allowed to text and drive--but not drink and drive. "There is no exemption for drinking and driving," he told the AP.

Driverless Cars: Where We Are Today

As I mentioned earlier, we're still a few years away from driverless cars. But Google is working hard on its driverless prototype--and claims that its self-driving cars have driven over 140,000 miles. According to Google, seven of its cars have driven 1,000 miles without any human intervention.