CVS Health wants to do much more than fill your prescription or jab your arm with an annual flu shot.

The drugstore chain is buying Hartford-based Aetna, the nation’s third-largest health insurer in order to push much deeper into customer care. The evolution won’t happen overnight, but in time, shoppers may find more clinics in CVS stores and more health care they can receive through the network of nearly 10,000 locations the company has built.

The $69 billion deal was announced Sunday evening.

Aetna has between 5,500 and 6,000 employees in Connecticut, almost all connected with the head office in Hartford, though many of those people work from home. The total number has drifted down from about 7,000 in 2010, even as Aetna’s national employment has gone up because of acquisitions.

CVS, with more than 10,000 pharmacy locations in the United States, has more than 50 pharmacies in southwestern Connecticut. A merger might be unlikely to affect those numbers since Aetna does not have retail locations and a main goal of the merger would be to connect health coverage to the public where the public shops.

It remains unclear how and whether Aetna’s local employment will change if the merger happens as the companies propose. The announcement Sunday night did not give details or even substantial hints at that question and an Aetna spokesman did not immediately return a call seeking comment about it.

“The administration will continue to monitor this merger as it develops and as details emerge to ensure that the best interests of consumers and Connecticut are protected,” Kelly Donnelly, a spokeswoman for Gov. Dannel P. Malloy, said in a written statement.

Hartford Mayor Luke Bronin said he believes the merger gives Hartford a chance to participate rather than see a shrunken Aetna presence — and he said he’s had some encouragement along those lines from the company.

“I congratulate both Aetna and CVS Health, and look forward to working with the leadership of both companies as this merger moves forward,” Bronin said in a written release. “I think this deal could present an important opportunity for Hartford and for Connecticut to build a partnership with what would be the nation’s leading healthcare company, rooted right here in New England.”

Bronin said he has been in touch with Aetna and has reached out to CVS in Rhode Island. “We need to seize that opportunity, and that means working with tremendous urgency to offer a fiscally-stable, business friendly environment with strong, vibrant cities and high quality of life in all of our communities.”

The mayor added Aetna executives — whom he declined to name — “have assured me that the company’s commitment to being part of a comprehensive, sustainable solution to Hartford’s longstanding fiscal challenges remains in place.”

That’s a reference to the capital city’s brush with bankruptcy, which appears to have been averted at least for the time being through a state package that would include refinancing of the city’s debt and additional state aid. As a taxpayer, Aetna could see relief through any form of municipal reorganization, in or out of bankruptcy.

Aetna joined with The Hartford and Travelers in pledging a $50 million fund over five years to help stabilize Hartford — but only as part of a comprehensive plan. The city is expected to draw on that as the state aid and refinancing unfold.

Connecticut, along with Wall Street, will closely watch statements by the companies Monday and beyond when they roll out details on possible savings. And Connecticut will pay close attention to the comments by Aetna CEO Mark T. Bertolini — who is known to not favor the company’s home state.

In the July, 2015 Aetna-Humana deal, Bertolini pointedly assured Louisville, in person, that city, the home of Humana, would keep its local workforce of 12,000 intact. Bertolini made no such assurances in Connecticut, and hinted at possible workforce declines in the event of that merger — which was shot down by a federal judge who agreed with the U.S. Department of Justice in an antitrust case.

Two big differences this time around: First, the companies will plead with regulators that they have relatively little overlap, which could mean less savings wrung out of Aetna’s Hartford base. And second, Bertolini is less in charge, as chief of the acquired company.

The corporate headquarters can be expected to see declines, but Aetna planned to move its headquarters to New York before the CVS deal happened. Regardless, the global headquarters functions in Hartford amount to a small number of people, as Aetna has top corporate executives around the nation.

It’s unclear how much Aetna pays in state corporate earnings and computer services taxes — an issue the company raised with ire in June, 2015, along with General Electric, after the General Assembly raised business taxes. In increase in the state computing tax, Aetna’s main objection, ended up not happening in part because of the company’s lobbying.

But whatever Aetna pays directly in taxes, by the larger effect of a merger could be on the economy of metro Hartford overall, and on tax collections through personal taxes the Aetna employees pay.

The deal will push the drugstore chain more forcefully in a direction it has been heading for years, according to analysts on Wall Street. It already has about 1,100 clinics in its store network, and it has methodically expanded what they do. The clinics started off as a place to treat basic health care needs like sinus infections or strep throat.

Gradually, the company has added services like blood draws or monitoring of chronic conditions such as high blood pressure and diabetes. Expect that trend to continue, as the drugstore switches more from selling products in its stores to services that can’t be bought online, where retailers face formidable competition from the likes of Amazon.

“I think over time you’re going to see less of that front-store retail and more health care services in their stores,” said Jeff Jonas, a portfolio manager for Gabelli Funds who follows drugstores.

The mammoth acquisition pairs a company that runs more than 9,700 drugstores and 1,100 walk-in clinics with an insurer covering around 22 million people. CVS Health Corp. is also one of the nation’s biggest pharmacy benefit managers, processing more than a billion prescriptions a year for insurance companies, including Aetna.

Analysts say the combined company could add more clinics and expand in-store services to include eye care or maybe centers for hearing aids. That could gradually turn CVS Health a one-stop-shop for health care, a place where patients can get a hearing aid checked, then see a nurse practitioner and pick up prescriptions.

“If you think about it, we actually don’t have anything like that,” Jefferies analyst Brian Tanquilut said recently.

Analysts say clinics aren’t especially profitable, but they are important because they draw people into the stores and help build deeper customer relationships. That’s crucial because drugstores are learning customers have less loyalty to them than was previously thought, Tanquilut said. He noted customers will fill their prescriptions wherever their coverage tells them to visit.

“I’m not going to leave my job just because they took CVS out of my network,” he said.

The clinics have become an attractive option for customers in need of basic health care because they are usually open longer than the family physician, and a clinic visit can be $30 cheaper or more for someone who doesn’t have insurance. But they have drawbacks. Family doctors say they know their patients better and can check on a patient’s broader health when she comes in for a visit, rather than dealing with just the one thing that brought that person in.

CVS isn’t the only health care giant delving into clinical care. The deal will help it compete with others like UnitedHealth Group Inc. The nation’s largest health insurer also runs clinics and doctor’s offices. Like CVS, it also has one of the nation’s largest pharmacy benefit management businesses. PBMs manage prescription drug plans for insurers like Aetna and also large employers, among other clients.

CVS also is on the defensive with this deal. Locking up Aetna helps secure a large client that can send millions of customers to its stores. It also keeps Aetna from turning to Amazon, if the retail giant decides to expand into prescription drugs.

Investors have been worried about that prospect since reports about the possibility first appeared earlier this year. Amazon has not commented on the possibility.

Amazon is already hurting drugstores in some markets with a same-day delivery service that competes with the products stores like CVS sell in the front part of their stores, outside their pharmacies. CVS actually is starting its own same-day delivery service this month in New York.

CVS Health Corp. will pay about $207 in cash and stock for each share of Aetna Inc., a person with knowledge of the matter said Sunday. That represents a 29 percent premium to the price of Aetna shares on Oct. 25, the day before The Wall Street Journal first reported about the possibility of a deal.

The source said the boards of both companies have approved the deal.

But antitrust regulators still need to approve the deal, and that is not guaranteed.

The Justice Department said last month it is suing AT&T to stop its $85 billion purchase of Time Warner. Regulators also sued to stop the Aetna’s approximately $34 billion purchase of rival Humana Inc. — a deal that fell apart earlier this year.

Aetna and Woonsocket, R.I.-based CVS both manage Medicare prescription drug coverage. Some of that business may have to be sold to address antitrust concerns. But otherwise, Leerink analyst David Larsen thinks a CVS-Aetna combination has decent odds of getting past regulators, in part because the businesses have little overlap.

“We also believe that the Trump administration is more business-friendly, and regulators may view a CVS/(Aetna) combination as a way to continue to put pressure on manufacturers and drug prices,” he said in a recent research note.

Associate Editor Dan Haar and the Associated Press contributed to this report.